Boeing will cut 17,000 jobs - 10% of its workforce - as the US plane maker deals with various issues across its business.