So golden parachutes, in the commonly used C* sense, are subtly different -- they're buying an orderly transition.
And why would you need to buy an orderly transition?
Because the outgoing person is likely to have (a) massive organizational authority during the transition, (b) legal ways to abuse that authority to screw the company over, & (c) political power within the company.
The money is predicated on having a role with access to those three things, and it's a payment for not abusing them in a time when incentives not to abuse them are removed (because you're being fired).
Not very relevant when you're fired on the spot and escorted out of the building, as apparently happened at Twitter, but very relevant in a more traditional (and slow) leadership change. And hence why it's a standard part of contracts for those roles.