I've broken several chains on my mtb, I'm a clyde and a grinder so they don't last many months.
but I switched to a Rohloff chain and it's the first chain that have lasted more than a season.
There are no real difference between Sram and Shimano chains if you ask me, they are not suited for mtb riding.