Future of junior developers

With AI changing the industry and reducing the demand for junior developers, and since most job openings now seem to be for senior developers or architects, why do universities continue to graduate so many junior developers? How do you see the future for people just starting their careers?