Amazon and Walmart are focusing on technology to enhance operational efficiency.Artificial intelligence (AI) is shaping the future of both companies.Walmart is expanding into freight services and brokerage to compete with Amazon.Amazon is interested in entering the auto market and disrupting traditional car dealerships.