Google’s AI momentum has brought its market capitalization within striking distance of Microsoft’s. Can Microsoft keep its lead?