Topological terahertz circuits using semiconductors