Earlier quoted context omitted.
Semiconductors are fairly unique in this regard- power consumption has been going down so quickly for so long, it can often be both uneconomical and environmentally unfriendly to continue to operate older hardware.
I'd like to see a detailed calculation. Teaching sand how to think doesn't sound like an environmentally friendly process.
If anything, electricity production probably has more subsidies & externalities than semiconductor manufacture.