General Motors (GM) is laying off nearly 1,000 employees globally, with most of the job cuts occurring in the United States.