Early on with the B787 there were a number of forced landings due system battery fires. Boeing's fix was to put the offending lithium cells into a "fire-resistant" box!
And the FAA thought it was an acceptable solution
I also recall an exec with my previous employer once stated during a flight deck visit, that despite various safety issues being discussed, the Company could survive a "hull loss". It was put bluntly to this prat by the PIC "so..will you and your family be on that flight?? "