Layoffs aren't a sacrifice, it's the CEO acting against the interests of the ex-employees but in the interests of shareholders (which is his job) and for that they get amply compensated by the shareholders.
Imposing a policy that if "the company is laying people off and cutting costs, the CEO should share in that sacrifice" is literally insane because it's counterproductive - it would explicitly motivate the CEO to avoid cutting costs and avoid laying people off (since that would cut their personal income), while shareholders want the exactly opposite thing, to motivate the CEO to be aggressive in cutting costs (including layoffs) whenever it allows to increase long-term profits, so any CEO compensation policy (which is set by the shareholders) should reflect that.