A potential deal to buy Intel could accelerate Qualcomm's diversification but will burden the smartphone chipmaker with a loss-making semiconductor