All the “it’s not clear if there will be fewer jobs in the future” rhetoric is frankly mind boggling. It’s pretty clear the goal of LLMs in a capital sense is to reduce operational budgets as much as possible. If it doesn’t happen naturally it will happen by execs forcing that decision.
Academic mathematics isn't an operational institution.
Though its funding does move with the number of major projects academia is tasked with that rely on mathematics to advance, it's a fundamental knowledge area that has no operational requirements to exist.