I dunno that the Google vs Microsoft comparison _is_ compelling. Isn't the question not "how much do the employees cost" but "are they worth what they cost"? This is not my area, but it seems like measuring _profit_ per employee gets a crude measurement of whether in aggregate those employees are generating more value than their comp.
Grabbing stale numbers from yahoo finance,
MSFT: 221,000 employees, Net Income to common $69.79B => $3,157,918.55 / person
GOOG: 186,779 employees, Net Income to common $66.99B => $3,586,591.64 / person
I.e. even with their higher comp, google employees as a group are generating similar but higher profit per person. And if the median compensation is ~$300k, then on most of them it seems like Alphabet is still doing extremely well? Is this not the right way to look at this?