Well currently NASA only gets government funding, but corporations that can monetize space could potentially reap hefty profits, easily paying for getting there in the first place.
There are quite a few ways to do this, too. The technology isn’t quiiiiiiite there yet, though. For now we rely on NASA, SpaceX, United Launch Alliance, and Russia for getting into outer space, and for almost purely scientific and research endeavors.