Although dementia itself can be fatal and cause death most times a dementia patient dies due to falling and causing another brain injury or due to infections such as Pneumonia, Lung Infections or Infections of the Urinary Tract.
Usually it's due to some illness other than dementia and most dementia patients die within 10 years of diagnoses although some may live a bit longer.