Apples and oranges, really. SHA-256 is a fixed function with no memory. So it lends itself to being hardwired into pure logic. A CPU or GPU was absurdly wasteful for it. That's why ASICs saw like 100x gains over general purpose hardware. Most of the repeatable tasks in AI workloads, like matrix and vector math at reduced bit widths, have already been encoded into hardware in modern GPUs.