Dell is laying off 5% of its workforce as the company told employees the move is to prepare for uncertainty.