Lyft Inc. has ended a test that showed some drivers how often a passenger tips, following backlash from riders.