No, they are not the same. Realme is a subsidiary of Oppo while Xiaomi has no relation to it.