China, for the first time, has seen more outflows of foreign direct investment than inflows as tensions rise with the…