That's a great point, but I suspect that there's actually something more interesting going on there.

All intelligent things are responding to stimuli. The only stimuli the AI has is our prompts. I goes off and uses parts of it to pursue a specific path, but it doesn't disobey it.

How that is similar to humans is that for us our stimuli is our senses, instincts and memories. There's a battle between all of those to produce a result, but we never disobey them.