upvote
Apparently not in South Dakota.
reply
It can be done. A basic strategy would be to donate the land,but retain "air rights", retain an easment controlling all biuldings over a few feet tall. This is regularly done to protect views when selling land downhill of a house. Farms and parks would be OK, but not construction of a datacenter.

But governments have eminant domain powers. They can always force a purchase if they really want to.

reply