The science of hairloss is pretty well known. The problem is delivery of the right chemicals to the right spot.
Now imagine a thing that crawls around your head, inspects hair follicles, and injects needed chemicals directly into the location they are needed. Essentially it’s a very slow and tedious task to do it hair by hair, perfect for a robot.