Trademarks identify the origin of goods that a business wishes a consumer to believe. We need to expand that law to also indicate _actual_ origin.
For example, this DVD player came from this manufacturer and then got badged as Alpha Inc, but this other DVD had the same technical origin (despite the different case) and got badged as Beta Inc ... consumers should get that information. Capitalism relies on such things so that the best products can be chosen.
Instead, we get things like companies selling the same product code from different factories with wildly different quality. Or, far more egregious companies sending a product to reviewers and early adopters, then making a worse product and passing it off to consumers as the same.
There's much more to do (I should be able to see exactly what a product had done to acquire it's 'country of origin' - another area companies deceive consumers), but this would be a start.
Though this too can become hard in categories dominated by cartels : warranties for (magnetic) hard drives have been going down (not to mention the recent frauds by Western Digital, how they have fallen, sigh...), or, for (non-related) reasons, boycotting Intel and Ryzen CPUs (or Android an iOS smartphones) doesn't leave you many options, though RISC-V (and "real" Linux) have been making great strides in the recent years.
I have to admit that particular strategy hadn't occurred to me - but it's a good idea. Of course, it has to be an actual part-of-the-standard-deal warranty, not the hard-sell extended warranty that's really just an add-on insurance policy...
(Wondering where I find a box of staples warranted to pierce more than five sheets...)