That's ... not what revenue means. You can't count revenue for Apple and profits for Amazon and Walmart etc.
I agree with you, I think it would be more fair and less disingenuous to compare the net income of Apple vs the net income for consumer facing operations of other companies.