Sam Altman once called ads in AI "uniquely unsettling." Now OpenAI is testing them as it hemorrhages cash and loses market share to Google.