You won't be able to replace doctors, because you want someone to say "I'm a doctor and you need this surgery". What will happen is the doctor will get an AI to help him, and then he will rubber stamp the diagnosis. He captures the gains.
Pilots and captains are also one of these. Someone's gotta be responsible for the people on board, even if a computer is already doing everything on a normal day.