Terahertz waves can revolutionize the internet, healthcare, and airport security. Here’s how a tiny chip can finally allow us to use them.