Simply not true.
A sprinkler system is a series of pipes with open holes (outlets). The outlets are 'filled' with a glass tube containing a liquid. When that liquid is *heated* )nothing to do with smoke, as others have said), it expands, breaks the glass, and water pours out.
A smoke detector...