ideally each city would own a non profit company that rents out city apartments, both long and short term to people who move into the city for work.
as long as you work in the city you can keep using the apartment and pay rent that would be used to renovate / maintain / build apartments.
once you are ready to retire or accumulated enough money you have the option to buy your own property outside of the city.
profit based property renting as a form of income in heavily populated areas should not be allowed, or at least it should be regulated.
B&B / hotels are allowed.