The country's key indexes have seen significant gains in recent weeks fueled by optimism surrounding China's tech sector.