They're just completely different projects that are not comparable. The Webb telescope had no choice but to work.
The SpaceX team has a choice, and they choose "fail fast". There's a gradient that SpaceX can sit on for their development, and for a suite of companies owned by Musk, people would like to see less fail fast and often.