That's an interesting way to think about it. No resources have been lost as it is a virtual thing and if we assume it to be worthless we haven't lost anything. Mind blown
Except people spent money in the market so - the mining rig companies now have the money and computers were built. The “waste” leaks into productivity at every joint.
The power company has the money, coal was bought+burned. Ultimately this is a form of broken window fallacy - buying resource to literally burn them into thin air is not stimulating the economy