Yes, this is a bet on rising home prices in the Bay Area, but that seems basically equal to a bet on the Bay Area tech ecosystem, which is already their core business.
I've lived in 'man camps' on remote jobs where it was easier to just put up trailers for workers than put them all in hotels. Or sometimes there isn't any temporary housing options available so you get to stay in the man camp. Pretty sure programmers aren't going to fall into line for that option though.
Life imitates art...
Incubators yes. But exchanging a place to stay for equity (as OP alluded to) is mostly in the realm of the show although it has happened a few times in real life as well...
Example: http://fusion.net/story/134163/silicon-valleys-startup-castl...
I don't accumulate as much stuff as some do, but I'd say $12k/year in extra discretionary cash (not just throughput to a landlord) is more than adequate compensation for the risk of a cross-town move.