Earlier quoted context omitted.
The solution for that is easy: don't buy the absolute-latest-generation of any hardware. I've owned Samsung laptops, HP laptops, Thinkpads. I've built my own work desktops. I've never had any issues, as long as the hardware is ~6 months out on the market. That's about the time it takes for linux devs to catch up with companies that focus on windows drivers.
That's useless advice. Even Webcams from laptops as older as 6 years may still not work under Linux. Anything which has an Intel webcam for example is almost guaranteed not to work, outside of perhaps a couple of popular models (like MS Surface devices, and then not precisely "out of the box"). The rule still is to get either a Linux-supported or at least a Linux-popular laptop, even if it's more expensive or doesn't…
Even on very cheap HP laptops, following this rule has worked for me flawlessly so far. Between telling people "you should spend more money on X just to be sure" and "Y is cheaper and it is very likely that it will work", I'd 100% recommend them trying the cheaper option first. Even if it turns out to not work, they can always return it and go to the more expensive alternative later.