I suppose the answer is something along the lines of, "find a partner who knows something about designing and manufacturing hardware (or learn it yourself)". But yeah, I've wondered this myself on those occasions when I came up with an idea that involved some kind of hardware device.