Borrowed from English Malay. The kanji is ateji (当て字), from Mandarin 馬來 (Mǎlái).
馬来 (katakana マレー, rōmaji Marē)