An AI stock with accelerating profits rallies 36 percent