TSMC says consumer demand for smartphones, PCs, and TVs is slowing