Putting aside whether or not discouraging investment makes sense as a strategy, it is absolutely wild that this is specific to single family homes. Apartments are unaffordable as well and they are also often owned by funds.
Are people who live in apartments just out of luck then? Discouraging investors from owning single family homes could encourage more speculation on multifamily homes.