FedEx and UPS are facing a shift in the way retailers approach last-mile delivery, with more competition for shipping as costs rise, according to AlixPartners.