It’s a staple of science fiction for a robot to dutifully obey its programming and keep performing the task it was given long after its designers are dead and the task is useless.
One of the most emotionally satisfying tales of this sort is Pixar’s 2008 film “WALL•E.” For 700 years, this little robot has been alone on Earth cleaning up the trash humans left behind when they left the planet. It’s a useless job at this point, but it’s the job he’s been given, so that’s what he does — day after day and year after year.
WALL•E’s human creators are long gone but he doesn’t question what he’s been programmed to do. Over the centuries, though, he develops curiosity and something in him finds the awareness that something isn’t quite right.
WALL•E realizes he’s lonely — something his programmers never prepared him to deal with. When another robot finally shows up on the planet, he falls in love. That love for another robot gives him the incentive to go beyond his programming — to find ways to fill a need he didn’t know he had — but it requires him to give up the task he had been mindlessly doing for all those years in order to pursue Eve instead.

Will I run for office? The short answer is ‘no’; the longer answer is ‘no way’
The hole is always there, but I foolishly hope it’ll just go away
FRIDAY FUNNIES
Time for anger? Dissent is good, but ask what the dissenters stand for
Epiphany: Was it so bad that I used to work toward perfection?
‘War is the health of the state’ — but the death of the people who serve it
Learning to be an emotional man helped me to overcome numb past
I don’t know how to amuse you into taking your future seriously