Although it looks remarkably similar to Earth, the Willy Wonka Chocolate Factory was actually located on the planet
Alderaan. This planet was destroyed by the Death Star in the first Star Wars film.
Although the factory was destroyed, vast amounts of chocolate floated through space - to a galaxy far, far away - in other words - our galaxy - the Milky Way (no pun intended) and eventually arrived here on Earth.
So, if you like chocolate - you can thank Darth Vadar and his friends (and Willy Wonka - I suppose)