Nestlé plans to close a factory in Australia with all of the staff set to be made redundant over the course of the next 18 months.