The White House says an agreement with Saudi Arabia includes investments in weapons and technology totaling $600bn.