Amazon's stock surged after a strong quarter and upbeat outlook from CEO Andy Jassy.