Vial filling machines use rubber stoppers and aluminum caps, while ampoule machines use flame sealing for glass ampoules.