One of several robots at the University of California San Francisco’s hospital pharmacy helps manage and track its drug inventory.