Checking lithium ion batteries as cargo is dangerous. The European Aviation Safety Agency has expressed concerned over the electronics ban for this reason.
We can’t make the world risk free (although there are fewer people trying to take down planes than we often think). All we can do is transfer risk.