NO different that rebuilding transmissions and engines.
The cost of batteries today will not be the cost to replace battery packs in the future. And once battery packs are no longer viable for cars they are still good for energy storage.
But most used cars don’t need an engine or transmission rebuild. Those are called scrap.