Autonomous weapons might fight the wars of the future.