Golfing robot uses physics-based model to train its AI system