It doesn't work that way. iPhones NFC chips are still powered even if the phone battery dies. That's how transit cards work even when the battery is dead.
https://bgr.com/2018/09/18/iphone-xs-vs-iphone-xr-nfc-chip-w...
https://bgr.com/2018/09/18/iphone-xs-vs-iphone-xr-nfc-chip-w...
When my current car fob starts displaying a low battery warning I have at minimum weeks to replace the battery. (Not to mention my current car fob is resistant to being dropped, stepped on, etc.)