A stranded ICE vehicle will exhaust its gas tank in 8 hours, max. You can turn it on an off to stretch it out but I wonder if you'll just burn more gas that way. Google (and Quora) suggests that a Tesla will last 36-72 hours, "or less" if it's very cold. I think EVs win in this case, assuming a full tank versus a full charge.
Regardless if you're in a place where this could happen you should have a box of chemical handwarmers, a heavy blanket, food, water, and other stuff in a box for emergencies.
Edit: looks like I'm wrong, much better answers below!
Regardless if you're in a place where this could happen you should have a box of chemical handwarmers, a heavy blanket, food, water, and other stuff in a box for emergencies.
Edit: looks like I'm wrong, much better answers below!