The investment underscores Microsoft's aggressive push to lead the AI race, bolstered by its exclusive partnership with OpenAI, the creator of ChatGPT.