This article references a 2023 article about lithium battery costs with price at 750 EUR per kWh (approx 12V 100Ah) for 30 years life couting 3 replacements if I read correctly note 5:
https://solar.lowtechmagazine.com/2023/08/direct-solar-power...
These days 1 kWh of LFP battery is 70-150 EUR depending on the brand, so far lower than referenced. And LFP cell lifetime is probably 20 to 30 years.
In a system it means that 1 kW of solar PV panels is about the same price as 1 kWh of battery, and similar lifetime.