The healthcare industry is undergoing a momentous transformation with the advent of artificial intelligence (AI) and the internet of medical things (IoMT), as these technologies are significant in managing patient data, simple medical surgery, and medical personnel. This development has shown the potential to mitigate medical shortages, health issues, and global disasters. Nevertheless, the dynamic characteristics of the system and its vulnerability to intrusions give rise to apprehensions regarding the possible compromise of patient data, endangerment of life, and reputational harm. This study examines the influence of medical robots and AI-aided diagnostics on smart healthcare sustainability.