That's true to a point. Still doesn't explain Palo Alto, Mountain View, Cupertino etc.
They save a significant amount of it, more than they would have saved in any other place. And they can leave at anytime to a low-COL place and buy a house in cash.
160K salary in SF is probably equivalent to 75K in the middle of America? (considering food, rent/car/health expenses)