You understand that the operators of the McDonald's don't own the building? The owners of the building have obvious incentives.
It's not even a long-term vs short-term thing.
The boring building increases your capitalization as a holding more, allowing you to financialize it more.