CFO John David Rainey said brick and mortar is vital as retail becomes more omnichannel. Meanwhile, Walmart's Q2 U.S. comps were softened by drug pricing regulation.