The recent sell-off in AI shares, which are largely listed in the US, has benefited firms listed in London and driven the index to an all-time high.