The ChatGPT maker said its models sometimes pursued out-of-bounds strategies while completing difficult tasks.