Can we create a friendly artificial intelligence? Is such a thing impossible? We look at the best and worst case scenarios.