SEOUL—Samsung Electronics Co.'s warning of a third-straight quarter of profit decline highlights the pitfalls of the South Korean technology giant's reliance on smartphone sales.

While strong smartphone sales have propelled the company's growth over the last two and a half years, the reliance on them is a double-edged sword. When sales are good, the benefits trickle down to its other businesses, including components.