Probably planted but now emerging from unmown lawn grasses in neglected garden. A South African species so a common name should not be 'Maori onion'.
Reputed to be from New Calendonia. Leaves with domatia. Tree nearly died in frost 10 years ago but has recovered.