Shares in companies that specialize in publishing school textbooks and offering online classes took a big hit on Tuesday after signs emerged that AI-bots such as ChatGPT were eating into their business. Silicon Valley-based Chegg is an education tech company …