Certainly to stop people with US businesses from doing business with Iran or Cuba. To stop an American owned British company from doing business in the UK? To stop a French company doing business in France? To stop either doing business with the rest of the world? To stop anyone doing business with China?
Its really not comparable.
They absolutely can impose sanctions on foreign companies by restricting their access to US markets, investments and penalizing US banks doing business with them.
For some EU companies this is irrelevant, but for global companies this becomes a problem.