Finding a place for AI in science and society