AI runtime protection for autonomous systems