Red Dwarf: Queeg.
Lister tells a story about his friend's "Smart Shoes".
My mate Peterson once bought a pair of shoes with artificial intelligence. Smart Shoes, they were called. It was a neat idea. No matter how blind drunk you were, they would always get you home.
Then he got ratted one night in Oslo and woke up the next morning in Burma. See, the shoes got bored just going from his local to the flat. They wanted to see the world.
He had a helluva job getting rid of them. No matter who he sold them to, they'd show up again the next day. He tried to shut them out, but they just kicked the door down.
Last thing he heard, they'd sort of robbed a car and drove it into a canal. They couldn't steer, y'see.
Peterson was really, really blown away by it. He went to see a priest. The priest told him, it was all right, and all that, and that the shoes were happy, and that they'd gone to heaven. Y'see, it turns out shoes have soles.