I think that's the main issue, from a pilot perspective.
Engines: Outside the pressure hull, multiple fire (heat) detection systems, multiple extinguishing systems (that work on the materials present), fuel, electrical, air and hydraulic isolation with one switch plus hot bits contained within a tested and certified armoured cylinder.
787 batteries: None of the above.