text: "How the heck is it legal to funnel public money to a foreign company!?"
  
  Happens all the time. It's the way the world works.  Also, US-based companies, like Boeing, get money flowing from foreign countries into the USA.  Money comes in, money goes out, money comes in, money goes out....etc.