My mechanic gave me the last dose of the injection yesterday.
A mechanic is not a medical personnel and cannot give anyone an injection.
Mechanics are usually employed by garages and workshops whie a doctor by clinics and hospitals.
Mechanics work on machines and not on human bodies like the doctors.