I'll have to disagree with you here. 1. It's not based only on revenue. 2. There's no built in bais towards low margin business. If you simply click the very first link in the article, the information about profit is the very first tab. There's even a filter for you to delve even deeper, like ranking the companies by market cap.
For more than 6 decades they have ranked companies using basically the same criteria: reporting the numbers.
Profit might be mentioned, and other information on the companies might be available, but you can see easily that the Fortune 500 ranking order is based entirely on revenue.