Uber is laying off employees says it will spend savings on autonomous future