I've read that smoking related illnesses cost less money overall to treat than average. As an extreme example, if someone went around disintegrating people with an orbital laser, this would clearly reduce overall heathcare spending. So in this analogy, smoking is the equivalent of an orbital laser that (plausibly) causes people to die before they develop an even more expensive-to-treat healthcare situation.