The U.S government finalized multi-billion dollar agreements with semiconductor giants TSMC and GlobalFoundries.