What if you had a flexible shaft that would not twist. If you put 50lb ft in you would get 50 lb ft out, just in another plane. I agree if you turn a standard u joint 90 deg you would lock it up.
The output torque of the trans goes through 2 u joints. Other than friction losses the torque in equals the torque out.
Energy is neither created or destroyed it is only converted.