> Coffee and tea contain bioactive ingredients like polyphenols and caffeine
There are also studies that nicotine lowers dementia risk.
Since caffeine and nicotine are both stimulants related to similar receptors, I wouldn't discount this other mechanism.
I'm not saying anything about general healthiness of caffeine though.
Would be interesting to know whether theacrine or paraxanthine can provide the same neuroprotection without as much downsides.