The ChatGPT maker announced it has filed paperwork to go public, just a week after rival Anthropic took the same step.