France’s Macron and India’s Modi have teamed up to co-host an AI summit as the US and China race ahead.