Building software is a fast development cycle. Find bug, fix bug, compile, release, improve. Things can be done in hours or days.
Building hardware is a slow development cycle. If I think of a new feature it might take a month just to get a prototype board designed, made, populated etc. The results are cool, but the feedback cycle is slow.
For my personality, I prefer software. I can have an idea, play with it, realize it's rubbish, and discard it - all before lunch.
But people are different. So someone else might prefer the hardware cycle.
Ultimately my advice to the original question is that "it likely doesn't matter" and "you cant predict the future". Both paths lead somewhere, but you can't really "know" up front.
So choose the one that gets you out of bed faster. The one that excites you more. And in a couple years you'll be better placed to make the next decision.