Ownership is a concept enabled and enforced by the society, so it’s always been that the society can enforce restrictions on what owners can do with things they own. Not running an unlicensed hotel from your property is one of those restrictions. If you don’t like it, sell it. Or get a license and comply with regulations.
Sure you can protest. But your post very much sounded like you’re upset that any restrictions are imposed. And that’s just an unrealistic stance. I own my flat and I’m not whining that I can’t do whatever I want with it because it was in those pesky laws and the effin contract that I signed when I bought it. So yeah, I suck it up and deal with it. It’s called being a member of society.
Real property ownership is a limited bundle of rights. It has been that for centuries before you or I were born. Before deeds even existed in what is today the United States. It’s a model that has a great track record, but if you aren’t a fan of Anglo-American property law (too “socialist” I guess) you are free to leave. I hear there’s some empty land in Antarctica.
I hear it’s got a great view too, no building blocking the beaches. But you can’t drill for oil on your own property in Antarctica, they’re everywhere taking away your rights.