I feel it's a bit unfair to those mechanical components to ignore how complicated power electronics are, for example. They are perhaps less inspectable for a layperson (what happens when you break it open to see the insides?) so we tend to treat them as more of a primitive black box building block, but treat the mechanical components as complicated assemblies of primitives.