Uber's job cuts and office closures reflect narrowing ambitions