That sounds like a better approach. Taxes
are used to encourage some behaviors and discourage others.
If you want to have families own their detached homes, make it so that their self-declared primary residence is taxed very little. You can own as many houses as you wish – but the more you own, the higher the tax rate on all the extra ones which are considered “small”. Then families can have a house or two, or maybe even three – whatever you consider a “reasonable” amount. Then businesses can own as many 50-unit condominiums and office complexes as they want, without any diminishing returns. However, it could be economically impractical to own more than, say, two “small” homes – if you have to pay yearly homeownership tax on each “small” home that is not your primary residence, of 20% of the property value for each one that you own. You own five – you pay 100% of value of each of them every year. You own one extra house – you sponsor a new house for a new family once every five years.
But that would require some political will to screw over the rich people. And those are the people who are building the houses in the first place, so you'd also need to ensure that families can build a home for themselves if the businesses are not willing to build property they can't profit off by renting it out instead of selling.