Shares of major professional services firms have dropped sharply as investors worry that AI is disrupting the industry.