“For example, if the Hubble, or its replacement, needs to be fixed, we should have an unmanned answer, for instance”
(NASA estimated the marginal cost of launching a shuttle to be $450 million, which is going to be most of the cost of assembling a big telescope. Note that I said "assembling" and not "developing".)
https://spaceflightnow.com/2016/02/18/nasa-moves-forward-wit...
(See "Can we rebuild Saturn V in 2018") https://www.youtube.com/watch?v=mhIfeS3OumY
As soon as this happens, most astronomers will jump ship anyway
Like saying "it just needs to work until Longhorn ships" ;)
In any case, JWST doesn't have UV capability, so it is not a straightforward replacement of what Hubble does. It just able to look at more distant objects because they've all been red shifted into the IR.
Basically it will be launched in March 2021, if at all.
By the way, every-time the launch year approaches they delay it by a good 2 - 3 years, and this has been the case almost forever.