The point is that one operating system has all the wiring exposed for all applications, and the others do not. And in some cases, they deliberately went the other way:
AppleScript arguably offers a far richer interface for driving applications that have a UI. It's just no one has designed an agent to take advantage of that.