You can build them much shorter, but they could never be used to launch living cargo. My guess would be that we'll see more investment in them once we have a big rocket (BFR/New Armstrong) capable of launching larger habitation units into higher orbits. Once you have more than 10 humans living up there you start having to think about how to supply them, and then a rail gun looks pretty good, but in the meantime we need to be able to lift large (dimension) things as well as humans, and rockets are actually a pretty good choice for that.