I mean... no? I've worked on chips for basically my entire career, and I get paid a more than when I briefly worked in web stuff. Not sure where this idea has come from. My previous startup I worked for just got acquired for 10s of billions of dollars, which is a higher valuation than my friends who have gone through acquisitions in the web-dev / SaaS space
I know this forum is highly skewed towards Saas/JS/web stuff, but there's an entire industry of deep tech software and the payouts are excellent.