Yes, it's a huge problem. There are greedy people buying more houses than they can use as investment vehicles, renting them out to everyone else who can't afford housing at unaffordable prices, and that ultimately increases prices across the board on everything because local businesses and service industry also need to rent commercial space and personal space -- and that ultimately comes from greedy landlords who keep lobbying against building more housing.
Most of SF is NOT living a life that I would call "livable". Having roommates in late 30s out of necessity rather than choice, and working out of a bedroom with no sunlight and not retrofitted for earthquake and fire safety and removed of mold spores isn't even ethical IMO, but that's the reality that lots of people live in.
1. It's not as bad as you describe it. Not for tech workers, at least. Please go to the lady working at Walmart and ask her about her income and living arrangements before you rant about $300k a year.
2. Of course it's by choice. Nobody is forced to live in SF or the bay area. Especially not people in tech.