The United States and China have reached an agreement: artificial intelligence will not decide the fate of nuclear weapons.