It's also not usually invalid just because it won when it "shouldn't" have. It's actually displaying a payout much higher than the listed value for the maximum payout of the machine.
Now, I feel like the fair thing would be paying that maximum payout and adding something on top for the customer's troubles. But that probably isn't going to satisfy someone who unreasonably expected $1.27m.