The BIGGEST problem with clean energy

Hello dear Physics Lady (you actually do not look like a girl, sorry for that, even with your positiv contagious energy and enthousiasmatic curiosity). After watching your video it really seems that energy storage will not be such a big deal after all (and wow, this is good news isn't it ?). Plenty of different ways to store energy meens all eggs wont be put in the same place, affordable technologies, most of them are very simple and clean when it comes to the "basic principle". Yet, not long ago, i read a book about rare-earth and rare-metals and how they are a really BIG problem when it comes to renewables. First of all, solar thermal (with mirrors) or wind turbines generate energy from rotating magnets to generate electricity. Magnets ? Well as for now, magnets are a mixture of neodymium (rare-earth) + boron + iron. And to operate such plants, of course you need a lot of chips to automate and optimize energy production (tasks such as finding optimal orientation in regards to the sun or wind direction). So, more rare-earth and/or rare-metals. The problem with rare-earth or rare-metals ? To extract them, in most cases, you need to extract tons and tons of rocky material, smash it, dissolve it. And of course this process, the chemical solvants, all of it produces immense amount of pollution. In France (my country) there used to be mining activity for rare-earth and rare-metals. All of it stopped in the past decades because of environment protests. Protesters were right in the sense that the pollution generated by this industry was absolutely unbearable. But all it did is move the production sites to countries far away (in Africa, China ...). Well, just wondering, as you seem to have super powers (at least when i watch your videos, your most obvious superpower is to give me a smile for the day), maybe the BIG problems i mentionned above could vanish because of some smart alternatives or solutions that deserve some coverage ? Anyway, thank you for your content, and positive energy ! It is worth at least 10 GWh if not more !!