I think it’s great to have a broad base knowledge in many areas. It’s always a positive to have some general understanding, just in case you need to refer to that subject down the line.
But you’re on to something here. It’s certainly troublesome to spread yourself, and your talents, too thin.
Best way for me to put it: Be great at multiple things that are related.