TBH I'm sure the military nowadays hasn't improved in that respect; "sand niggers" is a term I've heard a few times, and I'm sure there's more terms like that used to refer to 'enemy combatants'.
You're wrong. The US military used to be segregated back then, now it's not and actually desegregated before the rest of the country. As proof of a watershed change, the former chairman of the joint chiefs was African American, there are many minority generals and admirals in the US military, the military has a robust EEO program and outright quotas for leadership positions, including for officers. And much more.
It's not helpful to assert nothing's changed based on an anecdote, clearly a lot has changed.