Users of ride-hailing app took record number of trips in second quarter despite concerns about US economy