Foreign Investors Pour Into China’s Markets Amid Signs of Economic Fragility