America's artificial intelligence dominance faces its biggest test as China accelerates efforts to become a global tech powerhouse in the digital age.