Well, if some did buy an iPhone without a charger, and they had no existing charger (wow, in 2020?!), they would have to... go to the nearest petrol station or supermarket. I don't know of a single such outlet that doesn't sell chargers or iPhone cables.
Sheeit, as a Samsung owner, I notice that Lightening cables are easier and cheaper to find than USB C cables on the high street.
Such items are also the kind of thing that Amazon will deliver within a few hours, if you live in a bigger city.
Or borrow one from a friend or neighbor.