Probably for a bit of filtering / noise suppression. This should be a Y-Rated capacitor if the appliance has an earthed metal case. Ceramic types tend to go short circuit when they fail which is why the fuse popped. Take a close picture of the capacitor, we might be able to find one for you.
Adam