Modifying equipment isn't for everybody. Some people won't accept the risks or the potential unreliability, which is fair enough, but that's not a major concern for me. But if you say that modifying software is wrong, then in this context, I think you'd have to say that modifying hardware is wrong as well. And my view on that is that its my hardware, and I'll do what I like with it.
Is the situation a little more complicated than you suggest?
First I think that you need to differentiate between swapping out a component for a better-performing (?) one in a piece of equipment, and working on the piece of equipment (modifying) without actually changing any of the components.
In the case of firmware, you are working on something that someone else has created. (I suppose that this might compare with board design and layout of hardware.)
So there is the moral problem with firmware that you are taking something created by someone else to appropriate and modify, you are not starting from scratch. And if you then distribute the modified firmware, the issue of theft becomes all the clearer. Whether or not this is done for profit does not really matter.