Market cap is not a real sum of money that actually exists and coupd be retrieved. You, the sharegolder, oan the company, and pay Tim Cook out of revenue. From that perspective salaries of upper management are not so trivial
Disregarding market cap as not real money would be like disregarding your checking account as not real because the bank operates a fractional reserve.
Then again, I'm not sure it makes more sense to compare stock-based compensation with revenue than with market cap.