Space tourism and research are two things that can and do generate money (the Russians keep their programs going with the occasional space tourist).
Also, there are plans to put hotels in orbit - and they won’t take any decades to build, either.