A Chinese court has ruled that crypto lending is illegal and falls outside the purview of civil litigation.