There are millions of Windows 95 embedded in industrial or government machines. Millions.

Doing stuff that an ESP 32 would suffice.

There are at least 8 layers of bureaucracy between the ones who need it, and the ones who make it.

Yeah but instead of rewriting it, dropping in a supported OS that continues to receive security fixes is a very attractive alternative.