Estimation and Testing for High-dimensional Near Unit Root Time Series