Weapons powered by artificial intelligence pose a frontier risk and need to be regulated