Apple defies the decline as tech drags US equities down