The latest figures show buyers from China are the largest group investing in housing. Foreign residents will soon be banned from buying existing homes.