China edges out US in AI investment