Usually software can't easily destroy a device like a network switch. However on a 3d printer you can burn the whole unit into ash if you remove overheat protections. You may also be able to destroy stepper motors or drivers.
Any design worth its salt should incorporate a thermal soft-fuse at the heater element that cuts power off if the printhead ever goes above the maximum temperature that any filament can handle.
Pure software interlocks are not sufficient. One might think people would have learned a lesson, nearly half a decade after Therac-25.