Globalisation has many problems but _causes_ racism?
I would argue it's demagogues who take advantage of societal breakdown to inflame inherent racism.
More generally we also have a choice regardless of circumstances to not be racist. I can see how as a species we're not there yet though.