Until last year, China's tech industry enjoyed years of breakneck growth but is now feeling the pinch.