OpenAI plans to expand the capabilities of its artificial intelligence coding agent, Codex, by acquiring Ona.