Upvoted for asking a good question and being concerned about the broader view.
Facebook benefits Linux in the same way Google or any other megacompany that relies on Linux does. By building a huge resource intensive, ubiquitous platform on top of Linux, Facebook shows other companies can do the same and have success. This is definitely a feather in the cap for Linux and can only increase its popularity.
Keep Up with TechRepublic