Uber loses $1bn in three months as growth slows