Professionals aiming for senior leadership roles are increasingly expected to have a strong grasp of artificial intelligence.