That's the problem with canceling culture. The history of art is a record of attitudes at the time, and these things are part of our development.
The same with pulling down statues of slave traders and the like. Leave them in place, but put a plaque on them that labels them for exactly what they were. The statue is therefore no longer in honour of the individual, but a statement about the wrongs they committed.
The Charlie Chan films of the 1930s and '40s were some of the more shocking entries for the period that inspired Indy, with white actors playing the Chinese detective, and Birmingham, his black chauffeur as the stereotypical menial, with wide rolling eyes who's comically scared of everything.
Some of the films and serials that Indy owes his existence to came out of late nineteenth and early twentieth century tales of colonialism, and the likes of Burroughs' Tarzan the white lord of the jungle, who found his way into numerous films (after a sex change) as white queens of the jungle.
I watched about 60 cliffhanger serials searching for the inspirations, and there were plenty of them - especially in the Dick Tracy series. Of course, some of them ended up in Star Wars films as well.
There were two serials in particular that provided a lot inspiration for TOD:
Jungle Girl (1941) had a proto Mola Ram with a horned headdress:
A voodoo doll:
A rock crusher:
Then an escape from the flooding mine, with the water shooting out through an opening in the cliff:
There was also a carving that possibly inspired the dragon behind Willie in Club Obi Wan, and a gong, which in TOD kicked the film off and played a part in the action later:
The Tiger Woman (1944) filled in some of the gaps.
An unfortunate dropped into the lava:
Suspended over the lava:
Mine carts: