In a post on social media, Trump took aim at European countries that he said are discussing “imminent” implementation of taxes on American companies.