Apple and Microsoft are both looking to dominate the next big things in tech—from artificial intelligence and cloud computing to gaming, tablets, custom processors and mixed-reality headsets. Their ...