As the rapid processing power of computers develops it looks likely that artificial intelligence will soon exceed our own. What will this mean for humanity's survival?