Here is a qoute from Freeme who had two of this style battery fail.

Avoid battery with built-in charger. My brand new KLARUS went into self-destruction when i kept it in the box alone for less than 3 months.My other Nitecore NL1826R anode became hot (>50°C) when i removed from a Nitecore light. Top plastic cover deformed by the heat.
From this thread.
Of course some people have not had any problems with built in usb charging batteries like here.
Whether they are reliable or tend to fail might be due to the company that makes them. It’s possible several flashlight brands may be ordering batteries from a single company that makes this style of combo battery. I don’t think anyone knows. We would need to do a lot more research on the failed batteries.
I don’t have time to do all that so I’d rather just buy an OEM battery (Samsung, Panasonic, etc…) or a known good brand and be done with it. It’s cheaper and you know it’s reliable.