If your pump’s stator windings have burnt out we can rewind them. Larger submersible and water booster pumps are invariably cheaper to repair than replace.
These days there is also a justification concerning recycling rather than replacing as it saves the energy and raw materials associated with manufacturing new pumps.
It is unlikely to be economically viable to repair stainless steel borehole or plastic drainage pumps. But we can replace them.