Marvell shares surged on Friday after the company beat earnings expectations and issued strong guidance on continuing AI demand.