UK companies worth £3bn fall into foreign hands