For me it's more of sad realization that what's very hard and requires either skill, talent or both just isn't that well correlated with what earns most money.
Gotta have enough demand so other competent people interested in same thing won't drive the value down.
And I do feel lucky that my set of skills correlates with stuff that pays decently.
Just demand/supply I guess. Semi-conductor companies need just a few (even if extremely talented) engineers compared to software. The industry is also very concentrated and not growing that so not that much competition for employees.
I wonder if it's because of the nature of the companies involved. The semiconductor one is actually producing something tangible with huge costs associated with that. Most of the "tech" companies with the crazy salaries are just in the business of seeking rents from an entire market by collecting royalties or subscriptions for automated things, so they have way more money per person to give away.
Why ? So much software is far less complex to design than semiconductor stuff