Ah! Of course! Didn’t think of spray from an extinguisher.
At this point, I’d carefully clean all that mess off as best you can, then start assessing the damage to the components. Check for anything that looks frayed or melted like the belt underneath the laser arm, remove the head carefully and see if anything is melted inside, and take pictures of anything you can find to show support. They will be able to tell you how much, if anything, is user replaceable. (But we’ve seen worse fires, so you might get lucky.)
Oh and be sure to unplug the machine first.