I think the S60 battery/drive unit warranty was eight years and 100k (or 120k) miles originally, but I believe that the mileage limit was changed to unlimited miles, as was already the case for all larger batteries. If so, that five year old battery was still under warranty.
There have been some S85 batteries replaced under warranty. The highest mileage one I've heard of is 197k miles.
It is possible that the Model 3 batteries will do better because the car is so efficient that the battery is cycled less for a given number of miles. Whether the 2170 cells will hold up better than the older cells remains to be seen — internal features have changed, in addition to the cell size.
For the S60 batteries it isn't clear that Supercharging causes harm — there is some evidence that batteries that have been Supercharged more are holding up better. The S60 batteries lose capacity significantly faster than the larger batteries, based on dozens of anecdotal reports I've seen, but that might just be due to being cycled more. I've Supercharged my S60 a lot — more than 210 times, way
more than most S60s, I think it is fair to say, since most are not primarily used for long road trips as I do with mine (I've put 50k miles on my car in 2½ years since I bought it used with fewer than 7000 miles). However, Tesla service told me last month that my S60 battery is in the 80-85th percentile of capacity at 11.5% apparent degradation (based on 208 Rated Miles for new, not sure how real that number was). They also said that a replacement (remanufactured) S60 battery is currently $16,000, although I don't suppose anyone has ever paid for one. I would expect that price to come down over time.