A New York state investigation had found companies were marketing "highly addictive, candy- and fruit-flavored nicotine products to underage consumers.