If you are talking about the water sprinklers commonly found on the ceilings of apartment buildings, then most of those are set off by heat rather than smoke; so, while incense is unlikely to set off a sprinkler, you should always ask the property owner if burning incense in their premises is safe and appropriate.