It’s called a car charger.
Really? Where do I buy a car charger that fixes a broken phone? How does the car charger get back a lost/stolen phone? For people without cars, where do they plug in their car chargers?
Expecting your phone do be your only access to money is far beyond idiotic. If you're not within walking distance of home, carry a card.