Assuming the car was an automatic then the gearbox would’ve almost certainly overheated and caused the fire. That’s why you should only tow an automatic on the non-drive wheels. Plus, you don’t need the key in the ignition to put the hazard lights on. Plus, if the finance company had the key, why not just drive it back to the office?
I think the malfunction was in a brain, not the car’s systems.