OpenAI to recast hit chatbot as a route to higher-margin products before a potential IPO.