A top scientist warns such an arms race could wipe out humanity.