The way it works is, these machines would either read the printed barcode or take a picture of the label and run through OCR engine, use the zip+4 and sort them to a bin based on some configuration. Then these bins would go on a truck to their destination.
The machines are not doing the routing. So your fears are unfounded.
Presumably different bins are set to go onto different trucks, and if the important county elections official's barcode/zip+4 gets binned to alaska, that could cause confusion and delay. More nefarious (and also more unlikely) would be if ballots sent out to zip+4 with registered X party gets binned wrong, delaying receipt of ballots, perhaps.
Although, I would expect there's likely enough volume of returned ballots to fill their own bin, and whoever puts the bins on the truck is going to notice if they're on the wrong truck.