In-house attorneys and other panelists at a Berkeley Law artificial intelligence conference this week tried to separate far-fetched risks from legitimate dangers—and to offer guidance to companies on how to tell the difference.

The whole spectrum of risks—from fantastical AI takeover scenarios to far-more-likely instances of bias, bad outcomes and data breaches—have legal departments fretting, especially in high-risk settings such as human resources, health care and finance.