This reverses causation. Investors are involved because prices are going up, not the other way around.
"Investors buying up housing" is a common explanation alongside "short term rentals taking over" but neither make up a large enough portion of the demand to explain prices.