This seems unlikely to be true. Especially In the places where housing is most expensive. Do the majority of voters in NYC and SF own their house?
Property owners vote at much higher rates than non-owners. Property owners are the only ones with the right to put up election signs. Property owners are far more politically connected than non-owners.
Barcelona for example is flooded with tourists and "nomads" and save for basically banning short term rentals and eradicating cancerous Airbnb there is not that much that can be done...
If the issue is simply too many tourists flooding the city and changing the character, it's a different point than I was responding to and I don't have any well-formed thoughts on potential solutions and causes.
For the latter one there exists tourist tax that could curb a bit the overflood but AFAIR it was harder to enforce / collect with Airbnb and short term rentals (as opposed to typical licensed hotels and hostels) that only exasperated the situation by pushing more people to try to cash on the airbnb