Apple and Amazon are investing big, and it’s not about AI or self-driving cars.