But it's also tied to places like New York, and London, and Seattle, and Boston, and Austin, heck, Shanghai and Hong Kong and Bangalore -- any place where there's enough of a critical mass of reasonably well-educated raw population that "programmers live there" because everyone lives there. Not tied as strongly, mind you -- the network effect and the venture capital in the bay area are hard to beat. But tied enough that it works.
In short, the SFBA crisis is caused by the tech culture not drinking its own Koolaid about geography not mattering.
If you read any of their articles on how they make remote work for them, they do it by and organizing the entire company around remote work, IIRC. And they still have offices.
This feels less like decision making based on results and more like hand waving by bad managers.
Silicon Valley is not easily replicated.
As for me, a person who visits the place on vacations, I love it. I wish I could do more to solve its many problems.