U.S. stocks fell Monday, as technology shares declined for a second straight session.

Companies including Apple and Google parent Alphabet have soared in 2017, prompting concerns that major indexes’ gains have been overly concentrated in a handful of large technology firms. Technology was the worst-performing sector in the S&P 500 for a second straight session on Monday.

Some...