They could also just take the costs that would go to ASICs and instead put that into the investments in the first place. What actual utility is there in some mathematical computations for society as a whole?
I know it's tempting to argue along the lines of "What could be more important than the environment?" and that is a good question, but that is a shift in societal values question, not an economic one. Economics simply helps one optimize the outcomes towards a values set.
Think of calculating digits of Pi. You can calculate the digits ahead of time and stockpile them, you can use your stockpile to do a 51% attack.
I think datacenters should be providing waste heat for industry, pools, residential hotwater etc. Similar idea for miners. If they can consume 1kw of electricity but then sell 500w of waste heat, that can be quite good for the environment and bottom line.
This ROI could be then funneled into carbon offset projects, renewables, and research.
[1]: A quick google brought up a few results spanning those ranges