Taxis, small delivery vehicles, utility cars, cars and trucks for countryside use, and various trucks for city and highway use can all be electric, with all the benefits of EVs.
If you want public transit be more popular, build denser cities. E.g. on Manhattan using the subway is a no-brainer, and you are rarely more than two (long) blocks from a subway station. In some more remote parts of Brooklyn, you often cannot reach the destination by subway alone, and you have to take a bus. Even further away, traveling by a bus either becomes too slow, or the bus does not come close enough, and a car is inevitable. I suppose there is no way to make public transit economical or time-efficient in agglomerations like Houston, even though LA manages a bus network somehow.
Cycling such distances us also problematic: you either have to be pretty fit and take a shower when you arrive, or you have to have all the time in the world. Cycling within a dense city is pretty practical, though.
There's a chicken-egg problem at play, though. We can't build denser cities because we need to build 4-lane roads and parking; we can't get rid of these roads and parking because people need cars because the city isn't dense enough yet. It's certainly solvable on the many-decade timescale by smart, consistent city and state governments, but it's going to be a gradual slog of incrementalism (e.g., see all the changes NYC has made to shift from car centrism since the 90s - gradually adding bike lanes, closing Times Square to traffic, closing 14th street to private cars, congestion pricing for taxis,...)
The distance problem with cycling is solvable (though it pains me a bit to say this as a recreational cyclist) by electric bikes and other micromobility solutions (e.g. Citroen Ami). The streets of NYC are chock full of delivery drivers and others zipping along at 25mph on cheap, quiet electric bikes with ranges of many dozens of miles. Once we have a better regulatory regime for these (so people aren't blowing so many lights and hitting so many pedestrians), I could see them being a viable alternative to cars for many-mile use cases, at least during dry/temperate weather.
Indeed, two-wheeled electric transport is pretty great! It's a mix of EVs and bicycles proper.
These devices still need parking, even if they are as compact as a scooter or a bicycle (not like a motorcycle). Keeping them in an apartment is a bit uncomfortable, too, especially in a walk-in on 4th floor, since they are not exactly lightweight.
Electric skateboards are much more compact, but take more skill, and have a shorter range.
All this is totally solvable, but the problems first needs to be recognized.
I lived in Vancouver, which is very transit friendly by NA standards.
In the residential Neighbourhood I lived in, most roads were 3-4 cars wide, and 2 of those widths were exclusively for parking private cars (parking lane, travel lane, possibly another travel lane, and another parking lane). The building I lived in had as much square footage for parking as it did for living.
Parking a car in was more or less marginally free(as in most North American cities). Using a city parking spot for anything else cost money, and was time limited. Renting a private parking spot was about $100/ month (due to building codes there was an oversupply of private parking in addition to the available street parking). Renting a bedroom the size of a parking spot was $500+/mo.
In other words, the city incentives were set up that a climate controlled parking spot for a car was significantly oversupplied, and cheaper, than a putting a human in the same space.
Problem is: automobile owners chose their houses with these subsidies already accounted for in their budget. Remove them and suddenly it's impossible for them to stay in their home.
Oh, and they can't move closer to the city center: removing the subsidies just made houses that are centrally located impossible to afford for them.
So, spread the change out over a number of years, say 15 or 20. Building public transport won't happen over night either. People can't expect their living situation to stay the same forever, societal change requires personal change too.
If you want public transit be more popular, build denser cities. E.g. on Manhattan using the subway is a no-brainer, and you are rarely more than two (long) blocks from a subway station. In some more remote parts of Brooklyn, you often cannot reach the destination by subway alone, and you have to take a bus. Even further away, traveling by a bus either becomes too slow, or the bus does not come close enough, and a car is inevitable. I suppose there is no way to make public transit economical or time-efficient in agglomerations like Houston, even though LA manages a bus network somehow.
Cycling such distances us also problematic: you either have to be pretty fit and take a shower when you arrive, or you have to have all the time in the world. Cycling within a dense city is pretty practical, though.