The iPhone maker is embroiled in a multibillion-dollar legal battle over patent royalties to be paid to mobile-chip designer Qualcomm Inc., a fight that’s …