OpenAI cofounder John Schulman has left rival artificial intelligence firm Anthropic, a job he held for about six months.