Artificial intelligence is a long-standing trope of the science fiction genre. Robert J. Sawyer, Canadian SF supremo and multiple award-winner, has a great essay up at the Lifeboat Foundation that examines the different ways our relationship with artificial intelligence has been portrayed in genre literature and movies.