Real world free markets consistently fail to reflect the cost of externalities such as the effect of only rich people being able to afford housing in a wide area.
Rent controlling privately owned real estate does not work and has never worked. It literally just doesn't do what is claimed. It mostly repeatedly crops up generally because of how politics is structured means long term residents have a lot of clout to propose policies that benefit themselves while spinning BS about how rent control ends homelessness.
If you want the right to live in a specific area with specific amenities, well you can't always get what you want. The reality of resource scarcity and power differentials always crops up somewhere.
There's a lot of vilifying of landlords here. I was a landlord for a while because I wasn't ready to move. That got me my two first and only legal cases (one settled, one won but never collected $10k owed because the con artist skipped country). The insane level of stress got me out of that and I was lucky because only months later, all landlords got left holding the bag with the covid non-eviction mandate which meant renters could just stop paying rent. I'll never ever rent anything out again.
If people could build a house to rent out at a reasonable profit (and if the planning commission let them do so), then they'd build new housing. It's not like there's a capital shortage in NYC or SF, or new houses are some magic unproven technology.
The increased supply of modern units would create a downward pressure on old unit pricing, and therefore the rents paid by blue collar workers. This would decrease the price of construction to something vaguely approaching national norms.
Rent control (and, at least in California, insane codes) breaks this loop, so we have a situation where there is a shortage of housing, housing is completely unaffordable, and building new housing is unprofitable. (Also, the cost of construction has been completely decoupled from the price of materials. In most places, material costs are most of the budget!)
Artificially lowering prices is a good way to lower supply of housing, if that's what you're going for. Since people generally aren't interesting in lowering supply of housing and making the market less efficient, it's not a good approach.
The other thing rent control specifically does is give you are larger incentive to live where you've already been living, so if everybody did it, everybody would figure out it was irrational to ever move from the first home they ever rented. This doesn't actually stop "gentrification", it merely slows it, by simply making it hard to move to a new home in general. It also makes the existing residents more wealthy than newcomers, and the existing residents don't consider themselves the "Gentry" no matter how valuable the NY real estate they sit on is.
I feel there is a huge mismatch between what rent control actually does and what people are trying to accomplish by implementing it.