How Qualcomm squeezed billions out of Apple