If it is worth it to the seller and the buyer, then in general the only problem is that we have leftover junk that we need to find a way to recycle.
If buyers want items that last longer (resist planned obsolescence) and it is feasible to make such products at a reasonable price point, someone will do it.
Unless there is some monopoly or collusion in play. And I think there probably is. I can think of a few examples.
But in this specific case, America simply can't compete with China on solar panels, EVs and batteries. And telling China to produce less, so the price goes up, so America can sell theirs which were produced at a higher cost because America isn't tooled up for low-cost production, well that's not how anything works.