Artificial Intelligence played Wargames. The result isn't reassuring.