Wall Street’s major indexes closed the week lower, weighed down by a prolonged selloff in semiconductor and other heavyweight technology stocks. Artificial intelligence and memory-chip companies came ...