AI helps protect endpoints in the IoT age