Walmart has teamed with Google’s autonomous-vehicle spinoff for a pilot program that brings consumers to and from its stores — and offers them promotional pricing in the process.