OpenAI is trying to win market share from rivals like Anthropic and Cursor as AI coding tools gain in popularity.