President Biden has revoked a Trump executive order that let the federal government intervene when companies cracked down on social media posts.