As China narrows the technology gap with the U.S., each country has expressed concern over how AI in the other's hands could hurt them.