Amazon will invest $50 billion in OpenAI, beginning with an initial $15 billion, followed by $35 billion in the coming months.