Chess can point the way to how humans can coexist with vastly superior AI. The Chess world has lived with such intelligences for 20 years now. And the human sport of playing chess is still thriving, despite all humans playing strictly inferior chess to what a computer can trivially play.
So in the future, all scientists and academics may choose to continue their pursuits, but as a hobby or as a professional "sport" but the actual advances will be made by AI. People may still choose to earn a PhD, which will seem like a vain and pointless activity which can be performed by an AI in an instant, but humans may still do it for the status, for the intellectual stimulation, etc. But pointless busywork will be removed and people will stop getting PhDs in nonsense subjects. Only topics people are really interested in, like math and history, will probably still elicit interest. Amateur mathematicians and historians have always existed. I myself enjoy genealogy, not for gainful employment, but for its own sake.