The income disparity is just a product of that reality.
Outside of Silicon Valley, engineers don't get paid that much; the really high-income people are various executives, managers, finance people, business owners, etc. Engineers do pretty well for paid grunts, but compared to the ownership and executive classes, it's not that great.
Obviously in a capitalist society it makes perfect sense to pay your staff the minimum possible while still retaining them. But it doesn't make it a fair system. Just because I had the privilege of being born into a good family with a good head on my shoulders doesn't mean that I deserve to get paid between 5 and 8 times more than the janitor (the income disparity between a janitor on $15 and a software engineer making 6 figures).
In Australia I make roughly double what the cleaners make. I think that's a much more equitable number.
This kind of income disparity is completely unfair, and we haven't seen such high income and wealth disparity in the USA since the 1920s.
[1] https://www.theguardian.com/technology/2017/sep/26/facebook-...