Design for end-of-life treatment of work machines