You make many assumptions. You're saying that because people *might* do those things, they should do no non-essential driving.
People can safely drive to many places. Including to do shopping, go to drug store, etc.
As far as pumping gas, that's what paper towels, gas mitts and hand sanitizer are for. People are going to purchase fuel regardless of the type of trip.
And far as eating at MacDonalds- there's no current evidence - none - that food is a vector for COVID-19 transmission. A possible issue is if the bag/wrapper that the food is in. Carefully remove the food.
This is about minimizing risk, not eliminating risk.
BREAKING: China will ban the entry of foreigners due to the international spread of coronavirus, foreign ministry says— BNO Newsroom (@BNODesk) March 26, 2020