Honestly, this is
EXACTLY the problem with the current tech scene in SF.
SF used to be a place people moved to because they wanted to live in San Francisco, they wanted the culture, the access to nature and its beauty, the arts scene that was traditionally more cutting edge (citylights, burning man), the cutting edge food and wine scene, the walkability.
Nobody moves to San Francisco for that anymore. They move to San Francisco for work not life. They move to San Francisco to extract value from a job and then leave.
San Francisco is too amazing a city to be relegated to becoming a company town. If there is a positive outcome from this, it will hopefully result in a recalibration and people who want to be in SF because they WANT TO BE IN SAN FRANCISCO will stay and the people who came here to just smash and grab some cash will leave.