The dynamics in software are different obviously but the core truth is the same: good engineers make a difference and the return on investment justifies the cost.
Just think about Fritz Haber who (with Carl Bosch) created nitrogen fixation, which completely changed our agricultural landscape. That is actual, real value (=increased food production) we all benefit to this day. Or look at Alexander Fleming, Edison, Tesla, Nobel, etc. this list can go on forever.
Yes, Linus did good on Git and Linux, but I think with RCS/CVS/SVN and Windows/macOS the world would not have lost that much value.
- the cost to start delivering value is effectively nothing (a computer and access to the internet)
- the cost of delivering value is small (you need to provision hardware your stuff runs on, sometimes) which gives you high margins
- you are not limited to one geographical area nearly as much as other engineers are (since you don't make anything physical, and legislation is relatively light)
- you don't need to wait a lot of time for dependencies like you do in manufacturing
You can go on and on.