Consulting exposes you to problems in the field; teaching is where you tell others about problems you're familiar with. If you don't have an input of new problems, you're eventually just recycling the same material...
But then the great teaching would have to be informed by coding's great problems. Your average consultant doesn't encounter "the great coding problems" on a daily or even yearly basis. This is why it might be better for teachers to devote themselves to seeking and researching these challenges and problems as a part of their teaching like all great teachers of any lifelong pursuit have done. If these bootcamp teachers did that, the level of teaching would rise very high. It might finally be worth its price tag, even if students didn't get jobs. I guess that is why the pro-level musicians pay so much for a summer spent with master teachers with no promise of work at the end-- it is because those teachers actually teach them something of great value at the craft that pays for itself and helps the student become an artist at what they do. And for the most part, unfortunately, software engineers are not treated by their companies as artists of value either, like these classical musicians were, at least for many years before that began to decline sharply. There is so much precedent about where this bootcamp model and this "dearth of technical talent" will lead- and these places are not good. They lead to the worker getting paid very little and there being very few low-paying jobs in the end. But this is tech, so it will happen at speed and scale like never before. I've already watched tech do everything in classical music from 1950-1990 in about five years (including the sexism and its accompanying legal battles and outcries). Well, everything except great teaching at the "camp" level.