A multi-state investigation led by New York demands documents on how ChatGPT handles user protection, complicating OpenAI's path to a trillion-dollar IPO.