It's a trick. There are no jelly beans in the jar because there is no jar. it's just an image of a jar of jelly beans. If it were real, do you think it would still be full right now?
Besides, how do we know it isn't a CG rendering? After all, I have the skills to make a computer model and make it appear as though it were real and solid.