Amazon Web Services struck a deal with Rio Tinto Group to use copper from an Arizona mine in US data centers.