U.S. small-cap shares are finally starting to join the stock-market rally this week as hopes for a soft landing help drive gains in some of 2023’s worst performers, while megacap technology stocks are taking a breather from its artificial intelligence-driven advance.