Several major law firms are investing in data centre expertise amid the AI boom.