A growing number of corporate executives are now using AI as a convenient excuse to retire from their posts.