After three days of high drama at the world’s most closely watched startup, which many compared to a coup, Microsoft Corp. capped the weekend with one of its own: The software giant hired ousted OpenAI chief Sam Altman.