Profit motive leads to more shelter being built. The same reason why you want food production for-profit.
Not everything works best with profit motive (eg, healthcare) but if you want affordable housing then maximizing profit motive will help produce more housing.