Amazon, Apple shares rise afterhours; U.S. agrees to cut China tariffs ...