Microsoft, Google and Nvidia are among the American tech companies that have pledged to expand in Britain.