I own a 12 year old volt. One of the community apps tracks crowd sourced battery degradation. My pack's still about 75%-80% of it's new range. I'm in the center of the bell curve, drive mostly on electric, but it can't quite make it all the way to/from work anymore. :(
Chevy did a decent job at battery cooling. There are plenty of Nissan leafs that didn't fair as well.
If I did have to replace my pack right now, (and it's only a 10kWh) it would be around 8k, but they're generally not available. None of the used packs on ebay have any assurance that they have any significant life left.
Bluebook on the car is maybe 5k but that is a hybrid. 8k would essentially total the car. If i did manage to get a remanufactured pack (assuming it lasted another decade) it's still going to need wheelbearings, axels, suspension, steering, HVAC.
Just because an EV's motor can last longer, doesn't mean it makes a significantly better long term investment.