I can only speak for myself ofcourse, but here I go.
Bought my Zero DSR in 2016, app showed 11.700Wh of net capacity. Now, 50.000 km's and 6 years later, the app shows 11.400Wh so it lost 300Wh in the 5 and a bit years I own and ride it.
I do pamper the battery as some call it by charging to around 80% and only topping it off if needed, right before departure, with the OBC. In case of longer trips I have a 3.6kW Elcan charger that together with the OBC and gen 1 chargetank adds up to 7.6kW charging, which is well below 1c charging and thus does not hurt the pack.
Extrapolating in time, a loss of 300Wh over 5 years is 60Wh lost per year, so to get to 80% capacity it will take about 39 years (20% of 11700Wh/60Wh)
Extrapolating in km's, a loss of 300Wh over 50.000km is .006Wh/km so to get to 80% capacity will take around 390.000km (20% of 11700Wh/0.006Wh/km)
I think in 39 years somebody will either pamper the bike for the old-timer it is by then and give it a new battery pack. Given that battery tech has a rather high development rate, batteries become more energy-dense as well as cheaper per unit (Usually kWh) so the $5k a battery costs now will be greatly reduced over time.
From 2015 to 2020, battery capacity grew 2.7 times and the price again plunged by two-thirds, to an average of $137/kWh. That overshot the 18% rule, by which the price should have dropped only to about $213/kWh. But if you had strictly tracked the 18% rule from 2010 to 2020, the price ended up right around where it should have been.
I hope the 18% rule is faster than the battery degradation of my soon-to-be Energica