Walmart would like to build a presence in urban areas that's closer to parts of the well-off population that has started shopping with it in recent years.