Walmart faces multibillion-dollar struggles replacing warehouse workers with robots as machines encounter operational hurdles sorting merchandise.