I think lack of housing assistance is generally true of the sciences (biology, chemistry, etc) but less true for engineering. Computer science internships seem to be highly variable and not have any established industry-wide norms for internships.
Of my physics undergrad, around 1/10th were independently wealthy - guess who is still working in physics. The rest either did it for a few years, or got the picture over the course of the undergrad.
A 40k/year job is great if you are getting an additional ~120k in cash from existing investments at 22.
Responsible and reasonable individuals are not interested in giving up 5 years of their life and accruing high interest debt for the chance at a job. This may explain why many higher education students stopped going to work.
The people you actually want to hire likely are working other jobs to afford to stay in school.
As housing capital is squeezed so is the nation. The trend is not improving, many otherwise successfully people are or will be homeless and written off. The haves vs the have nots.