You should read up on the history of AI in medicine. 30-40 years ago they had rudimentary (by our current era understanding) systems that basically equalled and beat physicians in diagnosing and prescribing medicine to patients when given a list of symptoms (sources at the end).
None of these ever had any uptake because physicians didn't want to use them, even when shown they performed more accurately.
Ultimately credentialed professionals like medicine and law will never be replaced by LLMs because LLMs cannot be held responsible for the medical regimes they place patients under (or the legal advice they give).
Sources:
https://en.m.wikipedia.org/wiki/DXplain
https://www.dhinsights.org/news/does-ai-matter-if-human-clin...