No energy production is clean. Actually, I'd be curious to compare the damage to the environment caused by uranium extraction vs producing batteries and solar panels.
Nuclear and solar panels are about the same. Better than wind and hydro. But all of these are very similar, and are miles better than fossil fuels. It’s difficult to have accurate projections for batteries because the technology that can be used at these scales is not clear (though he vast majority of them need cobalt, which is a huge issue on several levels).
Indeed, there is no clean energy, it's all relative. I'd like more people to realize this.