Red Bull chief technical officer Adrian Newey has revealed he twice considered joining Ferrari during his career.