How Materials and Device Factors Determine the Performance: A Unified Solution for Transistors with Nontrivial Gates and Transistor–Diode Hybrid Integration