From a certain point of view repairing is fixing things that are literally broken, which involves glueing, welding, screwing, ...
Replacing parts is not repairing from that point of view, even if at a macroscopic level it returns something back to working condition.