The United States is accelerating an effort to revolutionize modern warfare by fielding swarms of self-operating drones and weapons systems. The push will shape the next generation of war and, military leaders hope, give America a leg up on China in the new global arms race. With the Pentagon’s new Replicator initiative, the U.S. is…