Vertical chip stacking is another idea being proposed. But as you said, that will have thermal problems.
It could be possible to stack less power-hungry chips like cache chips, but probably not the main CPU/GPU core. It will just be another way of extending Moore’s Law.