If you want to count it that way, it's just socialized losses.
But the way capitalism works is exactly that at the end, as it fails to incorporate/ model for critical elements of the real world. .
If we didn't buy AI, we'd have bought something else equally stupid and useless.