(Reuters) – Smartphone chipmaker Qualcomm Inc agreed to buy NXP Semiconductors NV for about $38 billion in the biggest-ever deal in the semiconductor industry, making it the leading supplier to the fast-growing automotive chips market.