Teaching highly specialized skills currently in demand has not traditionally been the mission of universities. In professions like architecture and medicine there is an expectation that new graduates won't have much in the way of practical knowledge about current practices, and so apprenticeships are more or less built in to the transition from student to practitioner.
Is a disinterest in teaching current professional practice really a failing of universities?
It seems more likely that bootcamps are simply a way for software firms to outsource part of the apprenticeship process. Most of the people who go to good bootcamps already have strong university educations and would likely have been able to be hired into junior dev roles anyway without the bootcamp.