Startups on the cutting edge of artificial intelligence are scooping up deputy-level in-house lawyers these days, especially those with boardroom experience.