In the summer of 1812, when Francis Cabot Lowell stole the plans for textile weaving machines as described in the article, the U.S. and Great Britain were two nations at war (or on the cusp, depending on the month). I notice this detail often left out when this story is used to excuse theft of U.S. research and development output.
Stealing the fruits of another’s investment is not the act of a friend or ally.