Manufacturers just shouldn't be allowed to produce them.
Perhaps we don't need to go that far, but just removing the moats that prevent people from building compatible hardware would go far. That toners include DRM chips just to protect consumer unfriendly business models still bothers me. It's just e-waste for no good.
Now the question that needs careful consideration is what constitutes "unrepairable" legally? It has to be sensible and legally ironclad.
And I wouldn't include any used goods sold between actual people (not the corporation people) and grandfather in any products that were first put on the market before a certain date (and make that date a few years in the future as a grace period). And maybe even progressively introduce different restrictions.
But yes, by and large it has the same effect and yes, I think that this effect is to be desired.