UK attracts highest levels of inward investment on record