By 2040 artificial intelligence could upend nuclear stability