Why will taxing them mean they make more money? And also why is that a problem? Even if it doesn't improve the housing situation it makes sense to maximise tax income from rich foreign investors.
Disclaimer: I don't know anything about anything and it probably isn't that simple.