You're putting words in my mouth. I merely pointed out that they have a
very confused mission thus I think it is not surprising that there is dysfunction.
We have vocational trade schools. We have professional guild schools (medical, dentistry, etc). At least some subset of students attends school with the intention of becoming professional researchers (ie pursuing a PhD, then a postdoc, then finally general employment).
I think it would be reasonable to expect undergraduate institutions to set unambiguous goals for each program. Students should know what they are signing up for. It would be fine to graduate with a certain amount of time spent explicitly on general education and a certain amount spent explicitly on vocational training with a specific target.
If you claim that education is a means to an end then what of (for example) history majors? I think the bachelors diploma itself is what became a means to an end much to the detriment of "pure" academia. The CS program at my undergrad spent time teaching us how to use version control. That's fantastic for a professional programmer but how does that have anything to do with CS as an academic pursuit? You can literally do much (perhaps all) of actual CS with nothing more than a pen and paper.