Illinois Gov. JB Pritzker on Monday signed legislation aimed at holding artificial intelligence companies accountable.