U.S. producer prices unexpectedly rose in October, but the underlying trend continued to point to a benign inflation.