It’s an interesting one, the Tom Swift series from around 1910 has him in rocket ships using wireless photo telephones, electric rifles, and all sorts of sci-fi before world war one - it doesn’t have many female characters, certainly no gay characters.
There is a suffragette character arguing for the right to vote in the 1910 novel, a right women wouldn’t gain for another ten years in the USA - so a hundred years ago they were in an era where the start of social change is beginning but to what extent people would expect that to continue is hard to say.
Metropolis is an interesting example too because they did have more advanced AI than we currently have - the maschinenmench Maria; an often submissive, vulnerable, emotional, manipulative, motherly and generally very stereotypically (for the time) feminine character.
I think people in the 1920s expected in the next century technology to advance a hundred miles and social issues to change maybe an inch. I can think of sci-fi from that era with black characters but none with an expectation of civil rights for those black characters.