I think Paris tried to curb this buy allowing Airbnb, but you can only rent out max 50% of the year. This makes it so local owners can make some money, but corporations wouldn't be able to get the yield they need at 50% occupancy.
Usually there are large and unavoidable transaction costs involved in selling/buying properties. It's a liquidity event on a large amount of capital so it's pretty much inevitable that government want to get involved with taxes, duties, fees etc.