Foreign investors have been dumping vast amounts of Chinese assets, and putting money there will only get riskier