In the context of housing, investment may look like a renovation to improve desirability or replacing a small number of units with a larger number of units. In contrast, trading would involve maintaining the status quo in hopes that the desirability of a neighbourhood or relative scarcity would increase the value of a property.
That being said, I don't know how you would create a system of investment that doesn't create an environment for speculative trading. In would be difficult to encourage the former without a means of selling off the investment at a later date. Reducing the frequency of trading wouldn't help in the case of housing since those are long term investments to start with.
Remove the government subsidies and guarantees and improve price transparency.
Contrast that to people who have lived in places with large property managers. The rent increase is automatic, even with better renters than I. I have heard substantiated stories of rent doubling. Now those renters may have been bad apples and the property manager may have been using it as a tool for eviction, but that is still a problem. It is a problem since it is used a means to bypass tenant protections. Those protections are necessary to provide housing stability.
My apologies for the rant. In principle, I have nothing against investment. That said: the excessive greed of some investors, the ones that effectively push people down or out to achieve ... well, I don't know what some people are trying to achieve beyond a certain point ... is turning me away from that principle.