Company considers building devices only with chips from Intel, possibly MediaTek AAPL 2.25% Apple Inc., locked in an intensifying legal fight with Qualcomm Inc., QCOM 0.16% is designing iPhones and iPads for next year that would jettison the chipmaker’s components, according to people familiar with the matter. Apple puts Qualcomm’s communications chips in roughly half of its iPhone 7 units; the other half use chips from Intel Corp. Apple is considering building the devices only with modem chips from Intel Corp. INTC -0.07% and possibly MediaTek Inc. 2454 +2.84% because San Diego, Calif.-based Qualcomm has withheld software critical to testing its chips in iPhone and iPad prototypes, according to one of the people. Qualcomm, which has worked with Apple for a decade, stopped sharing the software after Apple filed a federal lawsuit in January accusing Qualcom...