Using standard container sizes as battery modules is kind of genius. That way they can be swapped out when they get older and newer technology comes along, they could even be swapped between ships.
These batteries are likely far more complex in packaging, design, and thermal management that any consumer electronic cell. They'll likely "fail safely" if/when they do fail.