Ona's technology will allow OpenAI's coding assistant, Codex, to take on longer-running tasks, OpenAI said.