The former French President Nicolas Sarkozy was released on bail on Wednesday after two days of questioning in police custody.