It sounds like science fiction, but by 2050, Nick Bostrom says we have a 50/50 chance of creating robots that are more sophisticated than humans. Its a theme that’s already hitting popular culture with films like Transcendence. Once that happens, some say these machines will almost certainly be able to improve their own capacities at an astonishing rate. If this “intelligence explosion” is coming, how do we ensure that our machines don’t turn against us, but rather work as a friend to mankind?