Foreign capital investment is great, so beneficial to the economy.
The problem is with the housing market. Perverse subsidies, out of date zoning laws, and a lot of nimby based lobbying. Fix these things and I doubt anyone, including foreign investors, would be parking capital in property and just leaving it unused.