CEO also gets compensated for their contribution to the companies profitability, and competitive salary and benefits. Running a multi-billion dollar company 24/7 is worth more than a few hundred thousand, or a few million, a year. I've known project heads that have been paid 10% or more of a projects net profits. (and that was 20 years ago) And here, let's look at "non profits"Ceo have big salaries for the same reason Doctors and Dentist do : Legal Liability. Only one small bad decision or mistake could cost them jail and to lose all their money and career. They get hundred or thousands of stock holders ready to sue for any bad decision. Just like a doctor with every patient.
People need to stop repeating this anti CEO salary thing, makes you sound uneducated. When covid happened, Disney got huge loans to secure jobs and salaries, 11 billion dollars, but the plan required the parks to open to 25%. The only reason for layoffs is because the California governor is a moron. Disney was going to save every job until we get back to normal.
https://www.erieri.com/blog/post/top-10-highest-paid-ceos-at-nonprofits-2020