Chewy shares surged in extended trading after the company beat earnings estimates on the top and bottom lines.