Uber has joined a number of other Silicon Valley companies in laying off large chunks of its workforce