In the wake of a devastating attack on humanity by a computer system she created, Ava Babbage faces a terrible choice.