A particle accelerator fits the description given in the OP (albeit for a very small payload) and can reach 99.99....% (more 9s than matters) the speed of light. So that's the maximum speed, essentially the speed of light as long as you're prepared to cope with high $g$ forces - which is well explored in this classic XKCD what-if (also available as a video).$^1$
But raw speed at ground level is not all that useful for getting stuff into orbit. If, through whatever mechanism, you accelerate a payload up to orbital velocity in the low, dense parts of the atmosphere, it will burn up before it gets anywhere. Think about how destructive the forces of re-entry are when a spacecraft is moving at about orbital velocity but going through the very thin upper atmosphere. Moving the same speed at sea level would be many orders of magnitude worse because the air is $10000\times$ denser. Even if that doesn't destroy the payload the air resistance would slow it down vastly, to far below orbital velocity. So you have to get it going even faster initially to compensate, which makes the whole problem worse.
Of course you don't have to accelerate it all the way to orbital velocity, you could "only" give it the speed that the first stage of a standard rocket would, and have the payload include a traditional second stage rocket. This would still leave you having to handle a vastly greater max Q, again, because of the high speed in the thick, dense atmosphere. Which leaves you needing to engineer the whole second stage of a rocket to survive that, as well as building an accelerator that has to accelerator a mass many times larger than the final payload.
Conventional wisdom concluded a long time ago that the atmosphere makes such schemes non starters. That's why some proposals for linear accelerators have them be very long and extend dozens of kilometres in altitude - at that point the air is much thinner and less of a problem. Of course, building such an aerial vacuum tunnel comes with countless difficulties of its own, and we're basically in Space Elevator level of scifi. That's not to say that the general idea wouldn't work somewhere without an atmosphere, like the Moon, or a very thin one, like Mars.
SpinLaunch, however, thinks that the many problems mentioned above are surmountable in the near term. But I'm not the only one who suspects that company will be far more successful at parting investors from their money than getting payloads into space.
$^1$ Pedantry Corner: A particle accelerator works because it's accelerating stuff that has an electrostatic charge - this would not be the case with a mass driver. Electromagnets could be used to give the payload a magnetic field but not an electrostatic charge, so the workings would be fairly different on an engineering level even if Maxwell's Laws are pretty symmetric between magnetic and electric fields. Particle accelerators also have to deal with keeping the particle beam tightly focussed - something which is clearly not an issue when the payload is a single macroscopic object