Walmart added Subway meals to its fast-delivery app as it expands e-commerce and competes with Amazon on delivery speed.