Truthfully, if LLMs make an MD career unviable, then we are simply fucked.
I do think that day will come, but if I need a career for the next 30 years then I believe that MD is a safe choice. Not even for technical reasons. I think there are legal and bureaucratic hurdles that will take decades to adjust.