A bushfire destroyed nearly 100 homes in Western Australia as it swept through countryside south of Perth, but there were no casualties reported.