It doesn’t happen very often, but computers can catch on fire. Here is the result of a power cable rubbing against a metal object in computer tower. It will not happen overnight but after few years, see the results from the FIRE below.
The customer removed the power cable an all other cable an carried computer outside to extinguish fire.