The simple solution is not to use these kinds of energy sources to produce electricity. Bitcoin miners are using electricity, they are not responsible for the damage created while producing electricity. Using green energy sources will solve the problem.