With most mechanical items it's a cost issue.....
In the western world where labour is often the highest cost to any employer we will never get back to repairing anything when it can just be replaced.
It depends what your motivation is for repairing something. It may not be financially based.
It also depends how you do your sums, and value your time. Also any money you spend (vs doing a repair yourself) has to be allowed for in terms of the fact that it took you time to earn it and you were (presumably) taxed too.
In Africa and the far east where labour is cheap you might get your frame welded up but not here.
I've locally weld-repaired lots of bicycle frames, including some of my own. It typically takes a couple of hours to do a simple repair (including dressing the weld) and to give a squirt of paint to at least slow rust down. Because the repairs can usually be done without stripping the bike down completely, it is vastly cheaper than having the bike rebuilt around a new frame.
Repairs include; cracks in the BB shell, cracks in the lower head lug, breaks right through the head tube, broken dropouts, broken stay bridges, broken seat stay attachments, cracked seat tubes, broken seat lugs and so forth.
For example I weld-repaired my most-used bike a couple of years ago. It broke in the down tube by the lower head lug, necessitating an eight mile walk....
When I first built the bike I always said that I'd simply replace the frame if it ever broke. Some chance; since then I'd added many braze-ons and the frame wasn't going to be replaced in a hurry. I dropped the forks and headset out, set to with the welder and the grinder, and had the thing repaired and was riding it again by the following day.
I've ridden many thousands of miles on the bike since and it has been fine. I've left the repaired area covered in light-coloured paint, so that if it ever cracks again in the same place, I shall see it quite easily.
I don't like weld-repairing forks, (I'd sooner replace them) because if the repaired area cracks again, it may result in a nasty accident. By contrast if most parts of a standard diamond frame break (again), it is much less likely to cause a prang.
cheers