IoT-Based Cyberattacks: How AI Can Defend Against The Growing Threat