The U.S. can outspend China in financing artificial intelligence development, but is that the only factor that matters?