At the same time Joni Mitchell was making it up the charts there was Motown and the Brill Building (famously employing Carole King whose songs were often sung by men, n.b. to the “article” authors) and the Monkees and so on. And the Tin Pan Alley stuff before that. “Songwriting like a factory” predates recorded music. There’s nothing “modern” about it.