It's code running at kernel level, it has access to nearly everything, it's very unlikely there's a place a check could have been added. Later Windows editions would significantly reduce access to kernel level.
Microkernels - which would have stopped any such crashes in the first place - were a popular idea in the 90s (due to a revival I'd say), but weren't very performant and in practice servers and desktops were made reliable enough without them. Google's Fuchsia is a modern example thereof.
Most device drivers are just shuffling data back and forth according to some protocol. The actual user facing logic can be outside the kernel. This is why I like openbsd. Simple subsystems to provide a common interface for some drivers, then a controlling program/library for actual usage.
Microkernels - which would have stopped any such crashes in the first place - were a popular idea in the 90s (due to a revival I'd say), but weren't very performant and in practice servers and desktops were made reliable enough without them. Google's Fuchsia is a modern example thereof.