And there is always the benefit and an unspoken need of human interaction and the doctor patient relationship which plays a vital role in the patients care and treatment. So in a nutshell, surgeons are going to be in very high demand for the very long foreseeable future no matter how many machines are made. I hope this helps. Good luck!
Surgeons are not going anywhere so do not worry about that whatsoever! Machines will definitely be getting more advanced as time goes on, but they are not always reliable. I work with many different machines and they are always breaking down or having many glitches. Surgeons will always have a high demand when it comes to job outlook. We need that human interaction now and in the future. They may have a different role in 20-30 years but Educated doctors are always a need within the world.