The company can be co-opted by greedy upper management. (See DataRobot recently for an example). But that’s more like a company getting conned from inside the house. The company’s allegiance was sabotaged or subverted.
Beyond that? Loyalty is to the biggest investors. Other companies. The CEO answers to the board, and the board tends to answer or connect to those companies. Sure, they profit, but that’s a pittance compared to the real money. Managers below that get their fraction of a fraction. And everyone else drools because that’s still real money to an individual.