Not the same situation. Our society is roughly as one, in these historic examples there was two societies living together, the technologically advanced one being the 'invader'. I think if in these examples there had been full social integration then the remnants of the original society would have retained the foreign skills and knowledge, partly through necessity having lost part of their own more primitive one.
But there are whole societies that have collapsed. Cultures and empires like the Greeks, Romans, Mayans, Babylonians, Egyptians, Inca, all went from the pinnacle of societal struct