Additionally, dense urban areas tend to have the smallest environmental impact per capita (lower carbon footprint in particular), and help prevent the problem of urban sprawl invading rural areas. Nobody wants to live in a suburb that covers the whole country.
How we’re currently trying to address these problem is a bit like trying to address climate change while refusing to believe it exists.
In the 21st century, how great the need for physical proximity in the tech industry? Sure, it's convenient to have a ton of skilled devs in one place, but does that convenience outweigh the (rather extreme) cost? Is this sort of flocking behavior a cultural hand-me-down from a bygone area?
That said, this isn't an either/or situation. We can fix SF's mass transit situation AND we can find ways of spreading out businesses across the US.
Are you still developing your software, and is it downloadable?
Also worth asking, can a city not just find a comfortable homeostasis? Is it every city's goal to become increasingly dense? Do we measure the "success" of a city on GDP?
I don't. I think the best cities in the world would include Paris, St. Petersburg, Valpariaso, not the manufacturing centers of China or America.
So, define "save."
My opinion, however, is that we should do everything we can to encourage prosperity in all our cities, including our superstar cities. If that means more concentrated urbanization in a few places, that's simply a continuation of a trend since 1870 that has resulted in tremendous growth and prosperity for this country and many others.
That's not universally true. Even leaving aside cities with fairly big problems like Detroit, many of the current destination cities saw significant outflow over the course of a number of decades. The current trend for a fair number of (mostly) college-educated millennials to desperately desire living in certain dense urban cores is a relatively recent phenomenon. (Which is part of the reason it's way outpaced things like mass transit infrastructure.)