Former Formula 1 driver Robert Kubica take victory at the Le Mans 24 Hours with a privately entered Ferrari.