Fire 44 watt laser

Had a fire using the 44 watt laser today. melted most wires up top on machine and the router power plug too. has anybody had this problem

hoping I can replace the top cables and get back up.

Any help will be much appreciated.

What happened? What caused the fire?