In terms of tech companies having bottomless pockets, tht's simply nonsense. Startups can't afford to keep up paying Google-like wages (~200k/yr + $100k/yr in RSUs). And just like the dotcom boom, there will be a reckoning when "promising" startups don't get bought up by Google or Facebook, and their investors start fleeing en masse. Then, as people start moving out of the $5000/month 2 br condos in Mission Bay (as one of my friends were actually paying), prices will drop. It's just the nature of the beast.
While the cartoon is cute, One of two things will happen:
1. The service will decline, people will complain, and the salaries will increase until they are enough to live in the city, or attractive enough to someone to commute.
2. The service won't decline, because these people were not living in the city anyway.
Most of the police officers i knew for DC, for example, lived in the suburbs of Maryland (a 1 hour commute).
I doubt most teachers in the bay area were living in SF, they were priced out of the market a long time ago.
I think you have a fundamental misunderstanding of the problem.
For people outside the tech industry, this is already becoming the case. This is why entire neighborhoods are being gentrified: middle and lower-middle class can no longer afford to live there.
Tech workers though? Their companies have bottomless pockets. Google can afford to increase employee wages to keep up with increasing real estate prices. The issue is that Google employees need services like everyone else: police, firefighters, teachers, water, electricity, sewage, just to name a few. But if those service-providers can't afford to live in the city, then what will happen?
Probably this: http://imgur.com/CbyLy7O