Broadcom Inc. shares were on track for their biggest gain in 12 weeks in early trading after the chip supplier for Apple Inc. and other big tech companies gave an upbeat forecast, reassuring investors that spending on artificial intelligence computing remains healthy.