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”.
https://www.irs.gov/businesses/small-businesses-self-employe...