Bootstrapping is one solution. Another technique used in feedback amplifiers is to use a T feedback network. It depends on what you are doing with the resistor - what the circuit is.
In principle, you can use an OTA with 100% negative feedback as a resistor (one-sided grounded). The resistance is 1/gm (gm=transconductance). However, 1 terrra-Ohm seems to be rather problematic.