The people set to shape tech policy in Trump’s administration have embraced Musk and joined in bashing big social-media firms.