Glencore leads way as foreign investment hits six-year high of £23.4bn