If I'm making a software product in a specific product area, do I get to keep out other people from ever making that product?
If a ship sinks at sea, and there's a deserted island nearby, does the first passenger on the ship that arrives on the island get to claim it and prevent anybody else from stepping onto the island? Do all those other people on the ship get a vote on who can step onto the island even if they were not there first?
Does owning a piece of property give you the right to veto a particular person purchasing the neighboring property because you don't want then next door?
We as a society have set up a bunch of rules as for how much control people get when they "purchase" property. It's not a single thing, it's actually a bundle of rights, and we have chosen a particular bundle, and that bundle can be changed, and has changed, over time. Zoning is a century old invention.
The idea that a single land owner in an area can block the sale of land to others is considered ridiculous by most. But how much more ridiculous is it then saying that somebody else can't build apartments on their land, particularly in areas where lack of housing has caused massive homelessness and and skyrocketing of housing prices.