Luxury car maker Porsche has announced plans to cut almost 2,000 jobs over the next five years.