What was once a classic Silicon Valley success story has become the victim of an intensely ideological war on nicotine.