I imagine the costs would still get passed down to the tenants.
Ignoring that for a second, rental housing isn’t “an evil thing that needs to go away.” Rental housing is very much a fundamental need for a lot of people. Military members who move every 3 years, college students, city residents who don’t plan on buying in the city but want to live there for some years while in the workforce, separated spouses need 2 places to live, the list goes on.
This snap judgment of “down with landlords, let’s destroy the rental market” doesn’t seem like a great idea.