To clarify - often videos will have ads on them prior to being demonetized. My understanding is that when this happens, YT keeps all of the ad revenue and the creator sees none. Over time this is a lot of money I am sure.
Maybe not on hard demonetized, but they will run ads on videos of creators that are not eligible for the partner program: