Facebook should split their engineering services into its own layer, similar to AWS. They can then sell social media services to fb, ig, wa, and any competitor willing to pay.
They could allow sites to white label the fb identity system, and offer their own isolated dir. They could sell anti-evil(spam/hacking)-as-a-service. They could sell localization. They could sell messaging infrastructure and image hosting.