Potential solutions to that: prohibit ownership of residential property (whether small scale, like single family up to 4-unit properties, or large scale, e.g. apartment complexes) except as a primary residence by foreign individuals or businesses that have foreign individuals as their true beneficial owners, and have additional taxes on properties that are not owner-occupied a substantial fraction of the year (say, 9 months).