It's more subtle than that. People don't get fired directly for overperformance, so much as they make enemies who later sabotage them. It's hard to do anything important and not piss someone off.
I have an overperformance story from Google that's legendary, although I didn't actually get fired.
Overperformance doesn't inexorably lead to termination, and it's certainly not immediate. It is, however, more likely to lead to termination than the opposite. (On the other hand, underperformance is more toxic to your career in the long term.)
"Performance" is a middle-class myth for AFCs (Average Frustrated Chumps). You get fired if you fail politically. Being at either extreme, performance-wise, increases the likelihood that this happens.