Microsoft joined Apple on Wednesday as a three trillion dollar company, as its big bet on artificial intelligence continued to…