Japan has capsule hotels that reduce costs through better space efficiency and the weird hotel that reduces costs through automation. If someone were to make a startup that combines the two, they could solve San Francisco's problem of high rent.
San Franciscos problem is building restrictions not high rent. Most of that is from the investor who owns a high % of property in san fran and his weight in the city.
With building regs like other cities we'd have skyscrapers to accomodate everyone who wants to live here at reasonable cost.