WASHINGTON — Amazon, you’re not alone.

President Trump once accused Verizon of making “a STUPID deal” for AOL. He ridiculed Coca-Cola as “garbage” — but said he would keep drinking it. He called both H&R Block and Nordstrom “terrible.” He said Sony had “really stupid leadership” and described executives at S&P Global, a financial firm, as “losers.”

Before and after he became president, Mr. Trump attacked tech firms, military contractors, carmakers, cellphone companies, financial firms, drug companies, air-conditioner makers, sports leagues, Wall Street giants — and many, many media companies, which he has labeled “shameful,” “dishonest,” “true garbage,” “really dumb,” “phony,” “failing” and, broadly, “the enemy of the American people.”

Lately, Mr. Trump’s antibusiness rants have become particularly menacing and caused the stocks of some companies to plunge. His Twitter posts have carried with them the threat, sometimes explicit, that he is prepared to use the power of the presidency to undermine the companies that anger him.

The U.S. Chamber of Commerce, long a booster of Republican presidents, is not happy. “It’s inappropriate for government officials to use their position to attack an American company,” said Neil Bradley, the executive vice president and chief policy officer of the chamber. Mr. Bradley, who did not specifically name Mr. Trump, added that criticism of companies from politicians “undermines economic growth and job creation.”