Australian wholesale grocer Metcash has announced it will spend up to A$480m (US$437m) to overhaul its business to prepare it for "long-term sustainable growth".