This is where IPMI comes in. It's baseboard level, even below the firmware. If a Linux kernel crashes so hard as to hard-lock the box, you can still get in and power-cycle it. This is a very common technology on datacenter floors for decades because, so long as the box has literal power and the IPMI device has a network connection, you can do anything to the box as if you were physically sitting in front of it.I find it difficult to develop something so low level remotely. What if the kernel crashes all hardware?