Alternative investment is of course a thing.
However, you're missing the point. People MUST live somewhere.
Their only alternative investment is with regard to their down payment for money saved, or the amount of money that is (mortgage - equivalent rent), which is usually negative!
The BULK (or entirety) of the money they spend on their mortgage is not money that would otherwise be available for alternative investment.