Nearly everyone rejected the idea of a CERN-like project for mathematics when it was recently proposed. It should have been more seriously considered.
Now that things are settling a bit after the Navier-Stokes and theorem-dump shocks, something like what mathematics will look like post-AI is starting to emerge. Of course, things should be conditioned on the assumption that capabilities will continue to improve, but imagine something like this--
An institute with a tremendous amount of compute, either rented or owned, built on the Humboldtian model of the unity of teaching and research. The main draw for big names would be the access to compute, free of the fear of being scooped. New forms of attribution and collaboration would develop, and we'd gain some clarity for students and PhDs on what a future career looks like.
The current melange of math university departments all following their own paths through the crisis without consolidating resources makes the transition more difficult. Think of the path physics took beginning with scattered cyclotrons (the basement of the Niels Bohr institute was even dug out to put one in), then the larger labs that followed. That transition was gradual because physics led it from within, whereas with mathematics every university department is suddenly at a massive compute disadvantage with respect to labs that aren't following the same model, and are driven by different incentives.
It could be this simple--maybe we don't need to completely throw away the old model, attribution practices, and so on, and maybe we can preserve the transfer of knowledge to the next generation of mathematicians, if we simply give them lots of compute.
An analogy to physics to highlight how the divergent interests of the labs could be managed in a state of "peaceful coexistence" might be: physicists got well-funded accelerators and labs that followed standard academic practices. These were separate from "war work" (Los Alamos) that followed government priorities, even with the crossover of personnel. You could have the same thing with a "math accelerator" working on the academic model, while the AI labs follow their own priorities, and some subset of people cross between.
It might be objected that this is merely a conservative attempt to preserve the existing academic conventions and practices currently under threat, but tenure itself already does that, and is arguably the very thing that exacerbates the problem for young mathematicians.