Investors are growing uneasy about increasing competition from China in the global race to dominate artificial intelligence.