Local governments are using A.I. to send kids to magnet school or set bail for convicts—and they’re not even trying to regulate it