There's no compensation but the developer has to agree to the sale. The developer usually gets plenty of warning too. I guess you could say that the headline is wrong - it's the developers offering their apps for 99c (in exchange for some free advertising). It's the same with promotions that give away apps on the App Store (e.g. 12 Days of Christmas). It's the developer taking the hit.