Moderna and Pfizer already had about $1 billion each for development of a Covid vaccine. The government also mostly handled distribution and public dissemination. The only logistics concerns for the 2 big pharmas were manufacturing, packaging and transport to major hubs for suppliers.
On top of all that (the cherry), mRNA vaccine technology was already 20 years in development.