If the James Webb telescope failed during deploy, it would be a $10-$20 billion loss -- and it would never be re-attempted.
NASA needs to re-learn from SpaceX's ability to iterate on cheap designs and flush out flaws quickly. I say re-learn, because they DID know how to do this correctly during the Gemini / Apollo eras (TONS of rockets blew up before they attempted human spaceflight).
But culturally, something went deeply wrong, perhaps when we reached the Space Shuttle era, and they lost the willingness to ever accept failure or pushing limits -- the same process we tell tell children is critical to ever learning.