Scientists have found a possible explanation for why cancer patients are less likely to develop Alzheimer's.