Under the deal, OpenAI will receive warrants for a minority stake in Cerebras, with its ownership potentially increasing as its spending rises.