With Ferrari currently enduring one of its least competitive Formula 1 seasons in years, the man who helped the team to the top of the sport is to step down as chairman.