From my own experience, DrGoogle is right on the money. Even companies that are hardware companies need far more software work than hardware work, with more than half their engineers working on writing software.
Keep in mind, you don’t just need software for whatever hardware you are building - you also need it for general everyday applications that have to do with logistics, IT, operations, and just about everything else in a company that can be automated and that is unique enough that there isn’t software for sale to do the job. Not to mention that for software projects, beyond a relatively small (to scale) cost for computers, the biggest expense is the programmer’s salary. Hardware needs significantly more overhead than that, which makes companies less willing to take on hardware projects, and hence less jobs available.