Another factor that gives the same limit in theory is gravity. If you have a volume of space and start shoving hard drives in it, eventually the hard drives will collapse into a black hole, and your information density is limited by the surface area of the black hole—again, giving you O(R^2) bits of storage for a volume with radius R.