In the Futurama episode "The Six Million Dollar Mon," accountant Hermes Conrad replaces his body parts one by one with robotic ones.
The USS Enterprise, the starship featured in the original Star Trek television series, was very heavily refitted before its first appearance in film, the 1979 movie Star Trek: The Motion Picture.