You need to use nuclear-powered transistors!
No, I'm not joking. For these kinds of voltages, you need to use highly homogenous doped silicon, and the only way to produce it is to irradiate silicon with neutrons. It transmutes some of the silicon atoms into phosphorus: https://nrl.mit.edu/facilities/ntds/