I have heard this repeated a few times now and it surprises me. Since going deep on Linux I've resented any time I had to use Windows, but folks I really respect often speak highly of the kernel. It'd be cool if they open source it one day and we get a good deep dive into the internals.
Another angle on this: most ATMs were running windows a decade or two ago (I'd assume most still do, but not sure).
You'd see occasional crash screens, but given the sheer number of machines out in the wild, having only a few crash once in a blue moon speaks amply to the reliability of the thing.
The NT kernel was designed in the 1990s, whereas the Linux kernel is more or less a straightforward continuation of a design from the 1970s. NT does genuinely incorporate useful innovations over Linux.
Unfortunately, as I understand it, it basically needed to pretend to be Win 9x on release due to Microsoft's (understandable and smart) focus on backwards compatibility, so there's effectively a layer on top of NT that hides its most powerful capabilities and makes it pretend to act like its drooling older brother. Then probably three more layers on top of that, depending on which strata of Microsoft history your program is talking to.
Finally there's all the dreadful UX that Windows layers on top, so one could be forgiven for missing the gem hidden beneath the mound of manure.