Chip stocks and other big technology shares rallied Monday, extending Friday’s gains and suggesting that fears of an AI bubble are receding.