Why did the AI laugh at the joke?

Because it's already a joke about AI.

Why is AI the best? Is it pun intended? A robot laughing