Three-dimensional wrapping machine