Pharmacy techs are the ones that fill the scripts, but the pharmacist is ultimately responsible that it's correct.
Pill filling robots are great if you're filling the same 10 scripts, but not very useful when dealing with complex and compounding scripts.
My father was a pharmacist and we owned an independent pharmacy and I remember how often the scripts written by the doctor was so wrong and had it not been caught it would have killed the patient.
Knowledge of drug interactions are key, but these days new pharmacists just look up online, so a pill filling robot could work.