BMW to lay off 8,000 people