A master was a person with a high level of skill in a particular field of study, or someone who had authority over others.
As of 2269, the master computer of the Shore Leave Planet operated under the misconception that the starships were each the master of their enslaved crewmen. (TAS: "Once Upon a Planet")