Microsoft, the biggest backer of Sam Altman’s OpenAI, and BlackRock Inc., which has an executive on the artificial intelligence startup’s board, are joining forces with one of its chief rivals.