There are recycling companies
There are recycling companies buying up the scrap solar.
Silicone, copper, aluminum, and various exodic elements that are extremely valuable.
Plus most solar panels so last 20-30 years and still put out 80% of their power.
Keeping them longer than 30 years is also an option.
Virtually you can say they last for ever out way past when you'll die.