One of Walmart's top executives described its plans to use its growing advertising business alongside other digital services to build an Amazon-like flywheel.