Broadcom shares rallied after the company posted strong first-quarter earnings and guidance and signaled ongoing AI demand.