AI Safety and Autonomous Weapons Regulation