A Rhode Island company that makes large hydraulic hammers is moving to South Carolina, creating about 70 jobs over the next several years.