A suspected arsonist set themselves alight as they appeared to try and torch a barbershop in Australia.