Normally the person who comes up with the idea and basic design is considered the inventor. For anything even vaguely complicated, it's likely that multiple people are involved in building the prototype.
As you note, it is often a team effort, and so the whole team should be rewarded with the credit for the invention. Rather than basically ignoring those whose design and/or engineering expertise were essential to its completion and delivery.