This idea of machines being positive forces was in contrast to much of the Hollywood science fiction of the period - such as 2001 : A Space Odyssey , in which the ship 's computer tries to kill its pilot .