Random terahertz metamaterials