> an independent corporation wholly owned by Facebook would not have worldwide revenue
Legal concepts like "beneficial ownership" [1] and the definition of an "affiliate" under U.S. securities law [2] deal with this.
TL; DR When it comes to taxes, modern law isn't tricked by incorporated Russian dolls [3].
[1] https://en.wikipedia.org/wiki/Beneficial_ownership