Walmart is best known for its big-box stores, but the retail giant has positioned itself for a future where e-commerce plays a larger role by instituting management and structural changes.