The kingdom raised $17.5 billion in October in the biggest ever bond sale from an emerging-market nation, underlining the deepening strain on a nation that has eschewed international debt markets until now.