In the case of caffeine I suspect the main benefit is that drinkers of tea and coffee eat less food, and rich food damages the blood vessels of the brain (as it does to the heart).
In that sense it is similar to nicotine, and NON-smokers are 50% more likely to develop alzheimer's (controlling for increased mortality).
One current alzheimer's medication is Galantamine ( http://en.wikipedia.org/wiki/Galantamine ), which also increases acetylcholine levels and nicotinic acetylcholine receptor activity specifically.
The problem with these questions is that their answers aren't absolute. It varies significantly depending on the person, their genetic makeup, and their lifestyle. Even doing seemingly healthy things can be bad depending on your makeup.. enough 20-30 year olds have died during moderate exercise to show us that.
There are enough old smokers, heavy drinkers, drug takers, and what not, to demonstrate that these activities are not guaranteed to kill you. Studies merely attempt to show, statistically, the damage that "can" be caused or is "more likely" to be caused than by not consuming the item.
Given that we're haven't worked out how to determine what substances are or aren't helpful to us on an individual basis, I consume whatever I like as long as it doesn't make me feel bad. I might die tomorrow, I might die when I'm 90, que sera sera.