Qualcomm is the biggest of a large crop of companies that design computer chips but leave production to partners. Now it is considering a deal that would turn it into a manufacturer, a strategy shift that adds to the substantial risks of buying NXP Semiconductors.