PV panels will produce for at least 25-30 years with limited degradation in output. At that time, consider what state of the art will be, and that you can repower an existing PV plant trivially; you de-energize segments, manual labor replaces panels, and you re-energize. Old panels will get shipped for recycling (shredded and materials sorted for reuse).