My suspicion is San Francisco would love a Beijing-style hukou system. That lets it lock housing (and thus the built character of the city) and control immigration which in turn should result in stable housing prices provided units don't go out of use or residents don't have too many children.
That system leads to an oversupply of single men in rural areas and single women in big cities.
Beijing has a substantially worse median price to income ratio, though