Hopefully someone finds this helpful. I have a 2017 S P100D with about 49,000 miles on it. Long story short, suddenly both key fobs stopped working one day at the same time, though the car would run fine with the app. Soft restart didn't help (both buttons on the steering wheel and brake pedal), and replacing both batteries in the key fobs didn't make a difference. Initially made a service appointment (I'm out of warranty, so $212 was the quote for a fob replacement; still think the service app is a bot...). However, the more I thought about it, it just seemed weird that both keys would die the same day. Eventually that lead me to try to do the key fob update (under the service menu), and the car told me both key fobs were up to date, which seemed to indicate that the key fobs were working to some extent.
Anyway, end conclusion, wound up turning the car off under the safety menu, pulling off all the HVAC plastic bits in the frunk that cover the battery (three large pieces, I have the large HEPA filter), pulled the "big" battery connector safety plug, and then pulling off the negative battery cable. Gave it 2 minutes. Put it all back together, and it is working fine now. Not sure if that is considered a "hard" reset, but hopefully someone who was just as frustrated as I was finds this helpful and potentially saves themselves a service call.
Anyway, end conclusion, wound up turning the car off under the safety menu, pulling off all the HVAC plastic bits in the frunk that cover the battery (three large pieces, I have the large HEPA filter), pulled the "big" battery connector safety plug, and then pulling off the negative battery cable. Gave it 2 minutes. Put it all back together, and it is working fine now. Not sure if that is considered a "hard" reset, but hopefully someone who was just as frustrated as I was finds this helpful and potentially saves themselves a service call.