These are not "wasted" resources; they create value, which is the trust for the distributed currency system. These are hashes based on real history of transactions, and their computations guarantee that these transactions have been recorded by third party.
(At least, that's how it should work if I understand the theory behind bitcoin correctly).
(At least, that's how it should work if I understand the theory behind bitcoin correctly).