The deal may signal a thaw in relations between FedEx and Amazon.