Please go back and re-read some pulp scifi from, say, 70 years back and then spend some time scrolling through microfilm copies of newspapers from the same era.
You will find that SciFi has been mostly social commentary for quite a long time; what tends to throw us is familiarity!
I remember reading about star trek, and in particular uhura.
"Uhura" comes from the Swahili word uhuru, meaning "freedom"
- https://en.wikipedia.org/wiki/Nyota_Uhura
On Star Trek, Nichols was one of the first Black women featured in a major television series. Her prominent supporting role as a bridge officer was unprecedented.
She was once tempted to leave the series; however, a conversation with Martin Luther King Jr. changed her mind.
No, there's a massive difference. Taking Star Trek as an example: most of the time (not all the time, I am well aware), old Trek series were careful to present social commentary in a way that trusted the viewer to draw his own conclusions. The writers may have had an opinion, but they avoided obviously taking a side and tried to present reasonable points of view all around even if they did gently nudge things to make one side seem better. By letting the viewer come to a conclusion naturally, they actually had persuasive power because they didn't antagonize the audience. New Star Trek, on the other hand, has the writers openly preaching to you. They have one side of an issue represented by paragons of virtue, the other side represented by the scum of the earth, and have characters say what a bad person one must be if they come down on the wrong side of this. There is no subtlety whatsoever, and it has no persuasive power because the writers are more interested in flipping the bird to those whom they consider evil than actually trying to educate or persuade the audience.
And while I'm speaking specifically of Trek, this happens a lot with modern sci-fi. There is so much bad, preachy writing out there. And while that may have always existed to some extent, it wasn't the norm. Now it is the norm and it sucks.
Having read a ton of sci-fi from that era, they were entertaining even if one overlooked the social commentary. Young me did not give a hoot that Star Trek's "Let That Be Your Last Battlefield" was supposed to be social commentary but I can still recite the USS Enterprise's destruct sequence from memory because of the tension the cast and director put into that scene.
Being entertaining comes before social commentary, period. Modern entertainment is scorned by the public precisely because they do the opposite.