Big tech companies in the U.S. and China rushed this month to announce they are working on artificial intelligence tools similar to ChatGPT.