We are routinely implanting pacemakers in people's bodies. I don't think this is fundamentally different.
Battery tech used in these devices is most likely very different from consumer electronics and I assume they can't just catch fire inside your body.