Making the mining process produce useful output that can be resold nullifies the purpose as it means an attacker can now mine "for free" as a byproduct of doing general-purpose computations (as opposed to tying up dedicated hardware), lowering the barrier for a 51% attack dramatically.
This is very much not true. A central class in complexity is NP whose problems are hard to answer but easy to verify if the answer is yes.
E.g. is there a path visiting all nodes in this graph of length less than 243000? Hard to answer but easy to check any proposed answer.
Training NN ML is much slower than inference (1000x at least) because it has to calculate all of the gradients.
And second, the principles of electronic currency are different from gold/money. That's why crypto uses GPU ;)
I wonder what if somebody designs an electronic currency rewarded as payment for general GPU computations instead of just computing hashes? You pay some $, to train your model and the miner gets some coins.
Every one is happy, electricity is not wasted and the GPUs gets used for a reasonable purpose.