The president retweeted alt-right figures before renewing his attacks on media companies.