Americans’ feelings about artificial intelligence are complicated.