But Hollywood has been considering the possibility of intelligent machines, often as robots, for nearly a hundred years, and has depicted them both as deadly threats and sympathetic characters.