20170804 business.international-business: Apple and Amazon weigh on S&P 500; Dow heads for record