A French factory is pioneering recycling of solar units as experts warn of a waste mountain by 2050.