Google is investing £730m to reinvigorate its UK offices as it expects headcount to rise from 6,400 to 10,000.