In most markets ride-share and metered taxi prices have converged more than people expect, so the honest answer is that neither wins everywhere. Ride-share tends to be cheaper for ordinary daytime city trips in countries where taxis are expensive, and the upfront fixed price removes meter anxiety and the long-route problem. Taxis often win during surge periods, at ranks where you skip the pickup wait, and in cities that regulate taxi fares tightly while apps price dynamically.
Airport transfers are their own case. Official fixed-rate airport taxis are predictable and sometimes cheaper than a surging app after a big flight bank lands, while at quiet hours the app is usually cheaper. Some airports also charge apps extra pickup fees that get passed to you.
My working method: open the ride app for an estimate, glance at the posted fixed taxi fare if one exists, and take whichever is lower with the shorter wait. Over a trip the differences are usually small; the big savings come from avoiding surge windows and unofficial cars, not from picking one camp permanently.