Yeah when other countries do it, it is seen as a smart move to help their country and employ their own people for years to come.
When the US does it, it is somehow demonized as being "nationalist" or labeled as being greedy capitalism or some other negative term.