ESC's can be repaired "sometimes".
Components can be replaced until it becomes uneconomical to repair also sometimes the boards get to damaged where they cannot be repaired. Most ESC are two PCB design with the logic on one board and the motor phase switching on another. With the correct tools and knowhow it can be done.