A common cholesterol busting pill could slash your risk of dementia, a landmark study has found.