Louis DeJoy said the machines are no longer needed because of a decline in the amount of mail over recent years.