Star Trek doesn’t foretell a type of future as a concrete inevitable outcome and final destination, it presents us with a fictional diegetic vision of how the world could be.
If space is the “final frontier”, then the technology that facilitates the adventure is one of the central mechanisms by which we can learn new things about ourselves and our society.