So many ways. The current paradigm is that it gets one chance and it has to be perfect. Starship (which I'm only referencing as the bleeding-edge launch vehicle) compared to Ariane 5 could be a fraction of half the cost, with double the volume and 4x the mass. With those constraints removed the science missions had a lot more flexibility in their design.
Hmm, I didn’t consider that, very good point. With 10x the volume, maybe the mirror and sunshine origami could have been avoided or much simpler. I wonder how to figure out how much the cost was because of that complicated mechanics…
The bottleneck is actual manufacturing of JWST - the folding mirror was especially fraught; I think the sunshield as well.