GFI devices do NOT protect either the wiring or the house. They are not designed or intended to. They are to protect YOU and others from shock in the event of a malfunctioning device (power leakage to case).
An "arc fault" detector MAY have prevented the fire - as that is what they are designed to do. How effective they are, I don't know.