Alright, since everyone is getting so excited about this, take a closer look at the details. The machine wasn't malfunctioning, it was simply spitting out all of the tickets that it had queued up while it was empty. So actually, he was just taking the tickets that other people had won but didn't want to put in the effort to collect.
Of course I doubt a six year old would put all of those pieces together, so maybe it was a bad lesson. Who knows. I'm sure I'll inadvertantly teach my kids bad things too.