I have done general process automation work (usually designing new web-based tools) for 20 years now. The underlying idea has always applied, even before AI: if your process is ill-defined and/or nonsensical, trying to "automate" it isn't going to work out.
I have seen a smattering of instances along the way where the act of defining requirements forced companies to define processes better. Usually, though, companies are unwilling to do this and instead will insist on adding flexibility to the automation tooling, to the point where the tool is of no help.