In many ways, NASA and others have de-risked their heavy lift capabilities by putting together at least two sources. Artemis has sole-source contracts to both SLS and Starship for separate things, but the program is creating two separate heavy-lift vehicles.
Starship has to innovate its way into orbit first (the most recent flight got the altitude for LEO, but not the velocity) and then around the moon to catch up to where the SLS program is today. As far as I can tell, many space folks outside of SpaceX actually have more concerns about whether Starship can deliver on its promises than whether SLS can.