Buyers are driving a rebound in US stocks after last week’s rout in chipmakers, marking an upbeat start to a week in which earnings will put the artificial-intelligence trade to the test once again.