Shares of Qualcomm Inc. took a hit Tuesday after KeyBanc Capital dropped its longtime buy call, saying the semiconductor maker hasn’t been benefiting as expected from the artificial-intelligence boom and could start losing market share in the coming months.