You may say, "but the poor can't afford to move!". Well, if that's the case, the government should subsidize their move instead. It would be way cheaper and would incidentally drive real estate prices closer to the national median.
I'm not trying to cast any blame on people in this situation, as they are likely there through no fault of their own, but this can hardly be the most efficient way to solve the problem.
I feel like economics is screaming a message to people in the Bay Area: "There are too many people here! There's tons of land in the U.S.!", but no one is listening, just casting blame on the techies, gentrification, land policy, or whatever.