Race is no 'invention', race is science. There specific traits that divide caucasian from african and asian.

To identify difference does not make you a racist. Saying caucasian are better than african or asian, that would make you racist.

Also humans never needed 'race' to seperate themselves from others. There were always groups to support such things: gender, religion, class. Color of skin is just something more obvious and therefore even less deniable.

In old times people said: They are not humans, they look totally different. No we can prove they are humans, they just have some different traits.

But most likely this topic does not really fit into this forum anyhow.