I believe that true way forward in math is to come up with new hypothesis and new fields of math. AI can apply what already exists in massive brute force style. But I believe humans are still needed for next big hypothesis or entirely ground breaking fields.
If you can do either or both there is still room for long time. If not well get the degree and start applying things faster than those who are not aware of them.