It’s nearly four decades since I studied property law but the legal maxim Quicquid plantatur solo, solo cedit should still apply I think.
Basically if something is attached to the land permanently it becomes part of the land and the property of the landowner not the person who put it there...