Same thing happened to me with my Surface Book. I found it the next day with fans at max and burning hot. Still survived. Why aren't laptops shutting down when the CPU gets unbearably hot?
"Unbearably hot" for meatbags and "unbearably hot" for CPUs are different things; meatbags start having troubles at 50°C, while internal components are fine until 90-120°C.
Traditional hard disks are the biggest exception, but I'm fairly certain that's not a worry for a Surface.