A robotic arms race seems inevitable unless nations collectively decide to avoid one.