How AI is changing IoT