> and not enough students want to stick around and teach when they could be making tons of money in industry instead.
Especially not since there typically isn't a good university career path for teachers. Research is generally valued a lot more when it comes to getting a permanent position etc.