Terahertz Photodetection with Type‐II Dirac Fermions in Transition‐Metal Ditellurides and Their Heterostructures