It is not clear to me what exactly has gone wrong. The first pic showed that the Penguen box has melted apparently from a burnt motor, not sure what the second and third pics demonstrate. All HOBs are run by air cooling motors that can never reach high temperature. The pump inside the box is a magnetic impeller that will simply stop and decouple from the motor if it runs dry thereby eliminating the possibility of frictional heating. The motor draws tiny current and wattage, and only touch warm. So I have no clue how your motor could get burnt. Is there a short of the cable before the motor due to kinkling. Can the source of burnt from something else, like your heater or light.
I ran a dozen Penguen HOBs and other brands as well, and have never experienced or heard of burnt motor. Most fire accidents in aquariums came from defective heaters that draw hundreds to thousand watts, never heard of burnt HOB motors that draws under 10 watt.