Artificial intelligence (AI) is increasingly able to make decisions in complex situations. Digital machines are replacing all kinds of human tasks, whether repetitive, specific, manual or cognitive. There is, however, a worrying dark side to this potent force. We are increasingly bombarded with news stories on the way machines may…