The golf swing is all about repeatability so a robot ought to be good at it. Humans don't guide the club head into the ball - we just hope that our posture during the swing results in it happening. The ball is long gone before the meat inside our skull can do anything about the point of contact.
As for a hole in one..meh. I did that once on the 12th at Cherwell Edge Golf Club where I'm a member and I'm a 21 handicapper. Reaching the green from the tee on a par three is the definition of a competent golfer. If the ball then rolls into the hole that's just luck. Worth celebrating of course but still luck.
What would be impressive would be an autonomous robot. Even more impressive a bipedal one since I imagine the balance requirements of swinging a golf club would be difficult to get right.