Machines form boxes and trays