In the popular perception sure. Having lived in Japan, reality is far different. Anywhere outside of cities has no sidewalk, in places where there would be some in europe. Train stations that are rural have no bus connections at all (having grown up in switzerland, this was hard to get used to). Cars are seen very highly, to the point where they have priority over everything else in planning.
And for tourists, sure the shinkanzen is cheap, because the tourism tickets are affordable, but the average person can barley afford it. And most use planes to get around where could be covered by shinkanzen.
Japan is similar to France, excellent tranit in between cities (fast trains; but expensive), cities have a robust network. But the rest of the country is unlivable without a car.
Switzerland is very car centric too, and we’re less good at high speed trains and comprehensive urban transit. But man, the rural trains + buses means you can get literally anywhere without a car. Japan doesn’t have that at all, despite being extremely dense like switzerland.