I've had this argument with several people. Their position is that "it's my house/apartment, I should be able to do what I want with it" (even when renting they use this argument). My argument is that this is not and has never been true. You can't, for example, run a tannery in your apartment. What's more, as a resident (and especially if I were an owner) I wouldn't want my building being a de facto hotel. An endless…
(IANAL) Using a dwelling for short term rental may be a violation of the covenants upon the deed and may allow someone previously holding title to the land to reclaim it - this is why Home Owner Associations are obligated to enforce the regulations of deed restricted communities and what allows them to impose sanctions against violators.
I once was involved with a waterfront parcel deeded to the city for a park in the 1920's. It was never developed as such and an adjacent property owner - a trauma surgeon - offered to purchase it. I became involved nine years on after the surgeon had tracked down and obtained a quit-claim from all the surviving heirs of the previous owners. That was in 2002 as part of the city's approval of the sale.