From science fiction to global domination: the evolution of AI