Reduce, not eliminate.
Put pressure though taxes, regulations, etc that benefit people owning things to do stuff with them and penalize people owning things to make money from somebody else doing things with them.
Investment will always be an important mechanism, it just needs to be a bit more disadvantaged than it is at the moment.
One of the mechanisms is as simple as taxing vacancy. If you own commercial or residential property that isn’t occupied, your taxes go way up to encourage you to drop prices until it gets used or you decide to sell.