Google’s parent company Alphabet will invest £5bn in the UK over the next two years to help “power the UK’s AI economy”.