Before the Leica enlargement was unusual. Negatives were contact printed. It's why serious cameras before the Leica were huge. You can find cameras the size of cars in order to make large prints.
The 39mm thread was so you could load in your Elmar and enlarge away. Two lenses would have been too expensive.
"The enlarger is threaded with a standard lens opening, allowing the Leica owner to use his own lens." Leica Manual, 1951, referring to the Focomat Ic.
Before Leica there were enlargers but they looked and functioned like reversed cameras- they were used horizontally like a slide projector.
120 format was originally contact printed. It was a kiddies format, like a 1megapixel camera today. Once enlargement became common, 120 became professional. You find the transition from the 20s and it was complete by the 50s. The Focomat IIc is ready to enlarge it, with lenses corrected for the near focus already fitted.
Edit: I see others have commented while I dug up my Leica Manual. 🙂