Walmart and Amazon are discovering the limits of warehouse automation as robots struggle with packaging and retrofits.