Absolutely, it's an old joke. But the fact that the thing even knew it was a joke and told it reasonably well... the bar is on the floor. (the one the guy in the joke walked into)
It's one of several canned jokes you get with a very high likelihood. Try a couple of times and be dismayed - you'll be getting the same three jokes over and over again. I'm fairly certain they were specifically tuned to return that. It takes special prompting to get it to write a new joke, and the results are typically disastrous / surreal.