Uber and gig-economy peers like Lyft and DoorDash are confronting inflation levels that are the highest in four decades and the prospect of an …