AI, IoT wearable, and implantable devices in smart healthcare