Heck, it sounds a bit like
The Thief of Baghdad (1940), except for the part about the hot dogs, but I could have forgotten that part.
Was this your big black genie in a red diaper?
If that's not your movie, then the movie you watched was probably a take-off on this classic.