Rory McIlroy was embroiled in a strange incident at the Players Championship as he appeared to confiscate a fan's phone after his tee shot.