Uber posts $1bn loss on bookings slowdown