I believe the lower-end / heavier lugged frames can be mass produced on an assembly line - but the high-end lightweight lugged frames are hand brazed
Miyata used robot brazing to make high-end lugged frames in the 1980s, they advertised this in their catalogs. Supposedly the robot brazing was so precise that nothing required filing afterwards.