“A military that chooses not to develop autonomous weapons for ethical reasons will be defeated if other militaries do develop and deploy them.”