I mean, ultimately you don't. And there's always going to be some risk (ideally I'd definitely put any home battery in a fireproof location). But a commercial one is at least likely to have high quality welds, be wired properly, and have some kind of QA procedure overseen by someone who knows what they're doing). If there's a systematic problem with the design you are also likely to get notified via product recall, etc.