A race between China and the U.S. to develop artificial intelligence technology for use on the battlefield may determine the fate of the global power structure.