Airplane that crashed near Buffalo, New York 'was on autopilot'