Cell-based drug factories could produce therapies on demand inside patients