https://www.yourmechanic.com/article/the-most-and-least-expe...
That certainly matches what I've seen happen with my friend's cars: Toyotas just keep going and are cheap to fix, Euro cars have something bust earlier in their lifetime and usually outrageously costly to repair.
I am from NZ and as a country we keep driving second hand cars until they are uneconomic to fix, and maybe half of the cars imported from overseas are second hand Japanese cars. We don't have a lot of American cars but my own limited experience with them is that they are as unreliable and costly as the European cars.
You can find some individual models within other brands that are reliable, however if you are buying a car that is 5 to 10 years old, you can't yet know if the model you are getting is a good one, so buying by brand actually makes sense. Quote from article about maintenance costs: "Toyota completely avoids the the most expensive models list" which helps averages (although I think they used median costs in that article).
You also get a very different kind of buyer (skews faaaar younger) that honestly, is just insufferable to deal with. There’s more profit per unit, but not more profit an hour, and too much dealing with awful personalities.