Kazakhstan officials say 38 people have died after an Azerbaijani airliner crashed near the Kazakhstan city of Aktau.