If it is critical it should not be running on same cores
Using the example above, if a CPU core is overheating, can you down clock that core using and instruction run on another core? I don't actually know that much about how the hardware actually works at that level, so I am genuinely asking.
There's a hardwired emergency shutoff but you probably want the BIOS to set the fans to maximum long before the computer just shuts off.