The mining giant Anglo American is slashing its holdings and work force amid a plunge in commodity prices caused by waning demand from China.