This is to protect the buildings from liability through issues with workers. You don't want to be sued by a worker for something and have the buildings on the table.
It’s also due to being able to take advantage of lower taxes on capital gains, which you can have if you structure the real estate part of the business to have income from “passive activity” versus “business activity”.