Simple answer: Apple charges 30% of what their users pay in the app store. Facebook makes ad revenue from other unrelated parties. How could Apple even try to tax this?
Have their own advertising platform which they take a 30% cut and ban any app that uses a competing platform the same way they do with IAP.