When a robot is put into a room (somehow) with only one door and no windows given the task to leave the room.
Lets say that robot does not know with a door is or how its used but while interacting with that strange object it ultimately completes its goal by opening it.
That is AI, normal vending-machine robots don't do that ;)