Most modern key fobs have a hidden mechanical key inside. Press a small button or slide a tab to access it. This is useful if ...
the first step was to disassemble the already broken key fob and separate out the PCB from the case and battery holder. With those removed, a coin cell was soldered to some wires connected to the PCB.