I don't think manufacturers should have to offer support in perpetuity though so it becomes an interesting problem. Like samsung shouldn't need to stock the front face of a washing machine for 15 years. Perhaps a better approach is making items that aren't possible to stock long term be made out of repairable materials so at least it can be repaired by a repairman.
Repairmen are expensive now because the skillset disappeared, when everything became so cheap that it was easier to buy new. But I think we can and should bring local repair services back.
Perhaps requiring the manufacturers to provide either spare parts or if they are out of stock and no intent to sell them anymore, then requiring to provide STLs to 3D-print them could be a reasonable option. It still would be an order of magnitude (or two) more expensive compared to making the original parts (due to the immense economies of scale for plastic manufacturing), but it would still be cheaper than custom repairs locally.
In the last 3 years, I’ve repaired 1 window AC (bad bearings on the motor shaft), 1 free-standing AC (bad bearings on the motor leading to motor failure), and 2 portable dehumidifiers (low refrigerant charge).
None were particularly difficult and I could source a used motor ($18.50 shipped from eBay), source the bearings by measurement (under $16 shipped for 8 bearings though I needed only 2), and R410a is a commodity ($300 for a 20# tank, used about 1.5 pounds total).
Would it be easier if Fuji and Samsung and LG and others ran a parts depot that I could buy from? Maybe, but I’m probably not going to buy new parts from them anyway.