I don't know the veracity, but according to Wikipedia the British encouraged the system. So while the British may not have directly caused it they let it fester while they controlled Malaysia.
Regardless, when I look up the definition of apartheid it doesn't seem to require the non-natives being the ones to implement it.