US investment in China slumps, as Beijing warns of global recession