Intel to build chips for Qualcomm; hopes to rival TSMC, Sams