Tumble dryers are very crude devices, with crude safety features.
The biggest problem seems to be lint buildup.
Some dryers have small high temperature heating elements. Basically nichrome wire on a heating resisting card former, little different to a toaster, 3kW in a space little more than a large baked bean tin. I was expecting PTC or mineral sheathed elements like an oven or washing machine. Whilst dryers are not on for long, air drawn in will cause significant buildup of microscopic particles of lint - which actually have a surprisingly low ignition temperature.
Do dryers recirculate air over the heater element repeatedly through the internal filters? Whilst most dryers have a large door filter, and a secondary filter, they are poor at retaining microscopic lint particles. When people open a dryer they drag their fingernails over the secondary filter, serving to push the microscopic particles through it. If that air (and particles) are recirculated then it will contribute to lint buildup elsewhere.
Safety devices are "after the fact" in terms of sensing overheating, and "not necessarily in the right place" in terms of lint may be at ignition temperature elsewhere. They could do with an optical smoke alarm building in, plus a "belt has snapped" hall effect sensor, motor is stalled, exhaust is clogged, filter is clogged. Interlink the smoke alarm to the power and sounder.
I do run a dryer overnight, but have two mains interlinked smoke alarms in that room (optical & ionisation side by side) because it is near the kitchen. I think someone does actually make a smoke alarm with relay box for appliances. They are such noisy appliances even through a closed door (which for people without a working smoke alarm could be deadly). They should come with a separate smoke alarm, perhaps an extra loud unit, and ideally one built in. Optical should work fine - forcing people to clean the filter and its lens. A refusal to start if the filter is not cleaned by weighing it (strain gauge).
Hilariously primitive devices with rather large price tags.
Then again, cheap AC extractors often lack thermal fuses or even bimetallic trips, hence have become an increasing source of fires - never mind the old cooker hood duct full of grease. I loved how DC fans can suffer PSU failures, that really takes the biscuit.