Advocate said it installed the two machines after hearing that patients in “pharmacy deserts” are having trouble getting medications.