Space isn't really "cold", it's a vacuum. And the only way to dissipate heat in a vacuum is via radiating heat, something which isn't super easy to do for computer components.
They can't just be exposed to the vacuum because of cosmic rays and radiation (even if they could be exposed directly to vacuum, their ability to radiate heat isn't something that has been proven at scale.
So you're going to have a large contained, shielded environment for your computer parts, IN SPAAAAACE! Fine.
Are you expecting to mount heat generating it directly to the walls? How were you planning your own servicing the gear if something goes wrong? Will you have an environment suitable for human life inside the container for the inevitable maintenance schmuck who gets carted to space?
Like a lot of musk's ideas, it sounds interesting at first, but as soon as you start to give it any additional thought, it quickly falls apart.