I have no inherent sympaty (or dislike) for Microsoft (BTW I am typing this on a Mac), but let's be honest here:
If the company making the medical/industrial equipment (or somesuch) choose vanilla WinXP or Win7 instead of WinXP POS-Ready or Win7 POS-Ready, then the responsability (and stupidity) lie with the company for making that decision (their techies should know better).
If a company making medical/industrial or somesuch equipment used Vanilla Win10 instead of using Win10 IoT, again, the onus is on the company, not microsoft.
Microsoft publishes these support guidelines ~10 years in advance, and rarely change them, and when they do change them, is to extend the support even more.
For reference, Vanilla winXP support ended in Apr 2014, ESU lasted until Apr 2017 meanwhile Embeded was supported until Apr 2019 (The OS launched in 2001)
For win7, Vanilla support ended in Jan 2020, ESU ended in Jan 2021, while POS-Ready support ended in Oct 2023 (the OS launched in Oct 2009)
For Win10, Vanilla support ended oct 2025, ESU for consumers (first time it is offered to consumers) will end on oct 2027, ESU for bussiness will end on oct 2028, and IoT support will end on Jan 2032 (the OS launched in Jul 2015)
So, again, complain to the seller of the device for choosing the wrong version of Windows, not to Microsoft.
Is like a medical equipment maker using ubuntu non-LTS to make their device, and you complaining that the device was ""Outdated" solely because of marketing department of "Krapnonical."" And no, even if it is Linux, you are not free to go and change the underlying Linux from non-LTS to LTS (or to other Linux), lest you lose the certification, just like you are not allowed to change the Win10 in a medical equipment from Vanilla to IoT lest you lose the certification...
¿See the analogy?