Robotar i science fiction älskar att bryta mot reglerna.