It’s my understanding that in most cases...perhaps even all cases...there are photos/videos.
The State will know which machine, and the moment of purchase. The vendor likely has surveillance video. This should be easily resolved.
https://nypost.com/2023/05/25/powerball-winner-edwin-castro-served-lawsuit-claiming-he-stole-ticket/