I think it also matters a lot the type of career market you're in and that can be hard to define.
https://medium.com/the-unstudent/career-markets-82fb42694869
In a winner-take-all market, the criteria by which you succeed is quite narrowly defined & agreed upon and there are very limited slots. It's then a matter of optimizing for those criteria (e.g. publication quality in universities or TV screenwriting). In an auction market, there's many different approaches and criteria (e.g. VC investing, design, software engineering) and lots of ways to create new kinds of positions. The creator of Dilbert (Scott Adams) chronicled his journey being in auction market (writing cartoons):
"It’s unlikely that any average student can develop a world-class skill in one particular area. But it’s easy to learn how to do several different things fairly well. I succeeded as a cartoonist with negligible art talent, some basic writing skills, an ordinary sense of humor and a bit of experience in the business world. The “Dilbert” comic is a combination of all four skills. The world has plenty of better artists, smarter writers, funnier humorists and more experienced business people. The rare part is that each of those modest skills is collected in one person. That’s how value is created. "
Is it possible some of the allure of being a polymath and a generalist a bit of confirmation bias? I empathize with the worry over increased specialization, so a book with the message "specialists suffer, generalists win" feels very good.