Hard drivers were available for the 6502. They were expensive ($10k for a 10MB drive as I recall prices came down a lot, but never affordable in the 1980s)
Processing terabytes with a single CPU was impractical, but you could in theory connect it.