The reality of drug approvals is that they always take into account proven benefits and risks (including some room for yet-unknown risks) compared to the available alternatives (including other vaccines, other medication, or even not treating the disease at all).
This calculation was not necessarily changed for Covid in some special way. The bug difference with Covid was that governments pumped billions into getting the research done, as did the companies themselves knowning that they will likely be able to literally sell tens of billions of doses of this vaccine if they make it work even a little bit.