Consumer product build quality and outsourcing quality are the exact same problem. Somebody is making a thing and they don't make it well and the customer isn't happy. There is nothing special about the problem, it's simply hard to build things well. When you prioritize "shipping" over quality, you make crap. If you try to avoid the difficulty of quality by hiring somebody else to do it and they also prioritize "shipping" over quality, you buy crap.
Re: "getting a worse result even when they pay more than doing it internally", they either paid the wrong people, or they were trying to solve the wrong problem, or weren't good at using the product. If you're making Toyotas and you buy your parts from CheapPartCo, chances are good you end up with a crap car. If you buy your parts from Denso, at least you have the chance it will turn out well. If you take the Denso parts and assemble them terribly, you still end up with a crap car. And if you shouldn't have even used that part because your overall design was crap, you also end up with a crap car.
I'd say it's more likely the average person/company/etc will not make something well. Not only does it take more skill and hard work to make things well, they end up more expensive. If things are made well they probably took a lot more work to make them well, or the people who make things well are in higher demand. Show me a company that pays a premium for good vendors and full training for all their staff and holds back products until they pass a Steve Jobs-level of quality engineering, and I'll show you a company whose products work well, and probably charge a premium. (The only exception I know of is Toyota, because they are crazy enough to literally stop a production line just to troubleshoot a tiny issue. Their focus on quality has led to efficiency which reduces cost and increases production. But this is all Lean 101)
And this isn't a tech-specific problem because everything in the world has quality issues. The reason GM couldn't make a half-decent car while Toyotas were rock solid for decades was simply working harder on quality. You have to work hard to make something work well.