Shares of Broadcom Inc. jumped more than 5% in after-hours trading after the chip giant reported stronger-than-expected quarterly results, powered by a surge in artificial intelligence demand.