Walmart is pushing into more in-store advertising to capitalize on its huge reach and chase growth in higher-margin businesses.