Qualcomm (NASDAQ: QCOM) has been ceding ground to MediaTek in the smartphone processor space, and could run into more trouble as China tries to create an indigenous smartphone chip industry with a $100 billion investment. Xiaomi is now going to make its own smartphone chips — with help from the Chinese government — creating more trouble for the American chipmaker, since it is one of its customers.