Shares of AT&T Inc. edged downward Tuesday after the company said it is subsidizing Apple Inc.’s new iPhone, a move that is designed to drive up sales but will reduce AT&T’s profit over the next two years.