What's extra insane about the google one, Pichai's salary of 225m divided over the 10k workers fired is a staggering 22.5k/yr. If you assume the average tech salary of a remote google employee is somewhere in the 50k-100k range, that's 2.5k-5k / 10k workers that could have been saved by cutting Pichai instead.
Forget societal ethics, how do you justify to shareholders cutting ten thousand salaries worth of jobs and giving half the money to the CEO?