Its either 'redneck' approach when any such encounter is a gun encounter (with its consequences), or just give them wallet/phone and accept the loss&hassle in exchange of much higher chance of surviving.
Many perps aren't completely stupid. They realize you'll call cops if they missed your phone. You'll cancel credit cards immediately. An APB will be issued for your vehicle. You can IDENTIFY them. Everything they took may be rendered useless in minutes.
So instead, they may shoot you, or take your daughter hostage, or ignore your cries that the baby is in the child seat in back.
If you give them complete power maybe they take you to three ATMs, then force you and your family back into your home, and terrorize you, doing or threatening unspeakable things. Think this is made up crap, cherry-picking stuff? https://en.wikipedia.org/wiki/Murders_of_Channon_Christian_a...
30 yrs ago a young single woman I know had most of this happen to her. She was held captive, bound, gagged, blindfolded, tased, and raped for 3 days. She escaped by total dumb luck while the perp was paying for a pizza delivery from her purse. Her life is fucked up forever. She moved to the midwest, in with her parents. She's terrified of people.
I do what I can. I train.
Every state has different laws about when/why you are allowed to engage with deadly force against another human being. Generally it is permitted when you face a threat of inescapable, serious bodily harm. Sometimes the law is more permissive than that. Look up "duty to retreat," "stand your ground law," "castle doctrine," and "justifiable homicide."
If an unarmed person is stealing your car in California, it's unlikely that shooting at them would be lawful. However, California law imposes no duty to retreat, this article is about "violent robberies," and it specifically discusses getting held up at gunpoint. Someone under those circumstances would likely be permitted, under law, to kill the robber. That may not be true in states with duty to retreat laws.
The fact that every state has a unique approach to this question means that there really isn't a satisfying and succinct answer to your question.