The Dow Jones Industrial Average saw its biggest loss this month on Tuesday and the benchmark S&P 500 stock index closed lower for a third day, but the Nasdaq Composite ended at a new record, helped by a jump in Apple’s stock as investors warmed to its venture into self-driving vehicles.