As the internet giant stored the world’s information, it created an office culture that tried to minimise its legal footprint, telling employees to destroy messages and copy in the lawyers as often as possible.