Charles Leclerc is out of the Azerbaijan Grand Prix after suffering engine failure on the 20th lap in Baku.