I saw this machine once at a nearby matsuri. It's like the Japanese take on HK style egglets (Gai Daan Jai), my favorite snack in the world.

youtu.be/y3VYS58N0tU