Anything can fail. Surely a higher failure rate is permissible where there's redundancy. A battery is a redundant source of in-flight electrical power. It's not redundant as a non-cause of fire.
And it's probably a lot easier and faster to prove that a titanium box can contain a battery fire than it is to prove a battery won't burn. So the box may be the fastest way to get flying.