Eu acredito que você esteja pensando no filme de 1990, Hardware ( negrito meu).
A nomad scavenger treks through an irradiated wasteland and discovers a buried robot. He collects the pieces and takes them to junk dealer Alvy, who is talking with 'Hard Mo' Baxter, a former soldier, and Mo's friend Shades. When Alvy steps away, Mo buys the robot parts from the nomad and sells all but the head to Alvy. Intrigued by the technology, Alvy begins to research its background. Mo and Shades visit Jill, Mo's reclusive girlfriend, and, after an initially distant welcome where Jill checks them with a Geiger counter, Mo presents the robot head as a Christmas gift. Jill, a metal sculptor, eagerly accepts the head. After Shades leaves, Mo and Jill argue about a government sterilization plan and the morality of having children. Later, they have sex, while being unknowingly watched by their foul-mouthed, perverted, voyeuristic neighbor Lincoln Weinberg via telescope.
....
Back at the apartment, the robot has reassembled itself using pieces of Jill's metal sculptures and recharged by draining her apartment's power network. It attempts to kill Jill, but she traps it in a room after the apartment's doors lock. Lincoln sees the robot close the blinds while trying to peep on Jill, and, after he briefly manages to open the apartment door and sexually harasses her, offers to override the emergency lock that traps them in her apartment. Lincoln dismisses her warnings of a killer robot, and, when he attempts to open Jill's blinds so that he can more easily peep on her, the M.A.R.K. 13 brutally kills him. Jill flees into her kitchen, where she reasons that her refrigerator will hide her from the robot's infrared vision. She damages the robot before Mo, Shades, and the apartment's security team arrive and open fire on it, apparently destroying it.
Trailer de filme