This is a good way to limit somehow the environmental damage created by those disgraceful single use vape devices; I wonder how on earth they're allowed to be produced and sold!
Other users warned about recovered batteries: true, give them a good visual inspection first, always check they're not damaged and measure above a certain safe level (usually 3.0V for Li-Ion) before attempting their recharge. Also keep in mind that those small TP4056 boards were set up for recharging bigger cells and output a higher current. With 500mA charging a 550mA cell we're close to C, which is perfectly doable, however it's a stress I wouldn't subject a unknown used cell to. To stay on the safe side, I'd limit the output current to 250mA or less, which is doable by swapping the resistor going from pin 2 of the chip to ground with a 5KOhm or more one.