This sounds like a disguised government confiscation of private property.
Not so disguised. Pretty blatant. Who is going to invest in housing in the future in San Fran or other liberal bastions of collectivism. ?
They could try it but when they get no money as there is no one to pay the taxes or rents...what good is the property to the state.