Foreign investment continues to flow into China.