New Zealand has a shortage of doctors too, no problem in voting with their feet. They can also take other jobs - pharmaceutical sales, management consultancy both recruit those fed up of being over-worked and underpaid.
AI was a fat lot of use in the pandemic. It will help with the more mundane and predictable but it will be years before it is a substitute for much. Do you turn to Dr Google now or do you head for A&E with those worrying symptoms?
As for the idea that there are plenty of jobs - not plenty of consultant posts. Yes there is still medical work to be done and the country wastes a lot of money paying locums to do work that could be done by people in permanent posts. There will be tens of thousands of consultants retiring relatively soon - within the training period for new consultants - and not enough posts for people like anaesthetists to replace them. I wonder how happy the surgeon husband will be when he cant operate because there are not enough anaesthetists being trained. Every had your computer collapse on you or been out of action after an attack? This is what you want to trust your life to if you need surgery?
Edit for typos, may have missed some.