Killer robots and digital doctors: how can we protect society from AI?