Batteries are one solution, but the power storage requirements far surpass the world’s capacity for battery production, and come with the same caveats: rare earth metals, which need mining. Mining is a huge source of air pollution, as mining equipment is usually diesel powered, and far worse for the environment due to pollution of natural surface and ground water reservoirs.
Uranium mines have the same issues for sure, the scale is just very different.