If I'm making a $1M profit on you, I'll be willing to pay you up to a high fraction of this amount if I have to. Financially, even if I pay you $950K, I'm still making money.
Where does the money come for dividends, taxes, and overhead?
If there is enough supply of engineers at the same quality, no one will pay more.