Investors were surprised when the online education company Chegg last month revealed that ChatGPT was hurting subscriber growth—the company lost half of its market value overnight. But long before ...