Right, but the question was about the batteries, which hang on the wall in the garage. Nobody has the expectation that such an appliance will last the lifetime of the house.
Solar panels also degrade, roughly 1% per year, and commonly have a 20-year warrantee. That is less than the 30 years a good roof will last, but in the same ballpark. I doubt anyone knows the long-term resilience of these solar-panel-tile-roofs, but it's unlikely that they will have the extreme longevity of the clay tile roofs they imitate. In the right climate, those clay roofs can last a hundred years!
Solar panels also degrade, roughly 1% per year, and commonly have a 20-year warrantee. That is less than the 30 years a good roof will last, but in the same ballpark. I doubt anyone knows the long-term resilience of these solar-panel-tile-roofs, but it's unlikely that they will have the extreme longevity of the clay tile roofs they imitate. In the right climate, those clay roofs can last a hundred years!