Bolton was also skeptical about calls for the U.S. and China to cooperate on artificial intelligence.