Those electronic devices are build with slow burning plastics.
So even when it shorts , it should not burn easely.
Never the less , you sould always be prepared for something like this.
Use smoke dedectors , so you aren't surprised in your sleep.
Anyway , 20 years ago it was much worse , with tv's en CRT's that could implode.
It was rare , but possible