As I noted in a comment above, Richard has cast his net far too narrowly.
What decade was the questioner <10?
For starters, who is to say that the questioner was "<10" in the 1970s? Xe could have been a kid in the 1960s, in which case xe is obviously talking about the well-known horror movie 2001: A Space Odyssey. It has non-human killers:
They silently get aboard a space station after a while:
And at the end of the movie, one of them leaves in an escape pod so that there is room for a sequel where he comes back to terrorize again, with more pods and that bloke from another 1970s B-movie franchise:
Not necessarily a robot or an escape pod,then ?
Even setting aside the questioner's restriction to just the zombies in an escape pod genre of horror films, I note that the questioner qualified the question with:
I think it was a robot
So it might have been an alien.
Of course, the archetype killer-alien-on-spaceship-escape-pod story is of course "Rimmerworld" from iconic horror-comedy television series Red Dwarf. (This is not the only such story in Red Dwarf. In the episode "Polymorph" the creature aboard ship is a shape-changer, just like in 2001.) But the questioner was pretty sure, at least more sure than xe was that a robot and an escape pod were involved, that this was a movie.
So we might want to also consider movies that parodied Red Dwarf. One particular parody comes to mind because its attempt to be warm and lighthearted utterly failed. The director made several mistakes, including the one of changing the Rimmer character into a woman:
And getting Kryten completely wrong:
Of course, if the questioner were also unsure that it was even a movie, we of course immediately think of the escape-pods in The Hitch-Hiker's Guide to the Galaxy radio series, which ate Zaphod Beeblebrox in a spaceship, or something:
ASSISTANT ARCTURAN PILOT: That Haggunennon ate you. How did you escape?
ZAPHOD: Ha-ha-ho, no problem. It was a super-evolving species right?
ASSISTANT ARCTURAN PILOT: Yes.
ZAPHOD: It ate me whilst it was playing at being the Ravenous Bugblatter Beast of Traal. And then like, seconds later, made the mistake of re-evolving into a really neat little escape capsule.
ASSISTANT ARCTURAN PILOT: It evolved into an escape capsule?!