I think a more typical response would be, "Hmmm. That wasn't so hard, let's see if they do it again next year." And when they don't -- that is typically when you walk.
That's anecdata. Not everyone is the same. I know friends who would quit in a heartbeat and pursue other passions (music, teaching, non-profit work, etc.) if they got F-you money.
I can pretty safely say a single $5M bonus would amount to an instant lifestyle change (namely less pressure to work) for me.
Two things to note: 1) this is different than winning a lottery, because with a lottery there is no expectation of a change in wages; 2) your first week of leisure is worth much, much more than your 50th, as is your 1st dollar worth more than your 5 millionth. There is some level at which you stop working. I think it's much higher than you realize.
I think I would keep working.
The important factor here isn't the money.
2. If you work at Waymo you'll quit only if you're unhappy
On Wall St, there's always a bigger bonus to aim for at the same firm next year. At Google, if you wanted to take your big bonus and turn it into more millions, you'd better try starting a new business.