State legislatures across the country are rushing to get a handle on fast-evolving artificial intelligence. Many are focusing first on their own state governments before imposing restrictions on the private sector. Legislators are seeking ways to protect cons…