Doesn't mean he manufactured it, or invented it, or conceived of the very idea of an automobile with an ICE (or EV). It's all a big collaborative effort, and imagining that all of the $40k for that car go straight into the dealer's pocket would be absurd. Legally absurd, and ethically absurd as well.
Similar with a piece of software that builds on other work. Of course it provides value (hopefully). But on the whole, the extra value added is not the majority of the whole package.