The Albanese government will on Wednesday announce it is willing, as a last resort, to purchase the collapsed Rex Airlines.