So Stephen Hawking walked into a grocery store.
Never mind.
This joke is what we call "anti-humor." It sets up a scenario, and then immediately pulls the rug out from under you. It's funny because it's not funny, which someone as brilliant as Stephen Hawking would appreciate. But, you probably don't understand it.