The chip maker’s earnings will be closely watched by investors who see them as a test of strength for both the broader artificial-intelligence trade and the chip sector.