Qualcomm said it would provide Apple with its 5G smartphone modems through 2026.