How 5G and IoT integrate AI