Microsoft Corp. has altered its multiyear deal with OpenAI and will now let the artificial intelligence startup use cloud-computing services from rival providers, so long as the software giant doesn’t ...