They get cause and effect backwards.
What they think is happening: investors are buying lots of houses, which is driving up prices, so getting them out of that business would lower prices.
What's really happening: supply shortages are driving up prices, which is making housing more attractive to investors.