Worth remembering he was fired due to sexual harassment[0]. While Google did the right thing in firing him, they deserve far more criticism for the cover ups. Both of which are frankly unacceptable
Given the choice between having a sexual harasser on staff, or missing out on a billion dollars of profit, every company in the world will choose to keep the sexual harasser and the profit, so that can't be the only reason.
Some are, but it's usually based on how much the CEO plays golf with them, not their talent. But in exceptional cases, like an acquihire, it might be. There's literally no point doing an acquihire and then firing the people you acquihired. That's just burning money.
[0]: https://archive.is/gmvI7