As the world switches to renewables, difficulties in dealing with spent panels and turbines are coming into focus