Qualcomm shares rallied sharply as investor enthusiasm for the AI device cycle prompted analysts to upgrade their outlook for the chipmaker’s mobile AI chip business.