What part of this is racist? And what does you fact about electrification have to do with the cartoon?
Europe
Europa
Explanation:
First, the trains: the chinese train is depicted as a kind of modern train. it is very areodynamic which suggests it being fast. No smoke is visible indicating it is an electric train. The indian however is more bulky/less aredynamic (indicating it is slow, older, etc. ). Smoke is visible indicating that the indian train uses coal, like a 1920 train or something.
So the cartoonist intends to depict the indian technology as "backwards" compared to the chinese one. Compare that to the stats from the poster indicating that indian is actually ahead in technology compared to india.
Second, the people: the indian train is running and there are many many people visible around and ontop of the train, which suggests that the inside is already full with people. Since that is very dangerous, the cartoonists intends to show that the safety standards from india are low.
Also the cartoonists wants to depict india as socially backwrads, that they would have more people than good infrastructure for the people (=people being able to sit inside the train comfortable instead of hanging on the side of the train).
So all in all, the german cartoonists wants to show superiority using popular stereotypes of india and that is racist, also because it is based on beliefs instead of facts.
ah and it is also structurally racist: for instance many right wing/conservative people look at the climate change and above cartoons and say that the problem is the so called "overpopulation". That is: for them, a solution to climate change is to simply kill people or let people die or something. (of course not rich german people flying around in private jets, not they mean people in poor countries.)
so this cartoonist indirectly references this idea by using the same stereotypes.
As a person living in germany myself, these stats are interesting and i found even some sources: https://bioenergyinternational.com/deutsche-bahn-to-purchase-13-000-tons-of-neste-my-renewable-diesel/
In Germany, Deutsche Bahn (DB), the country's national railway operator is expanding its use of renewable diesel (HVO) significantly this year by purchasing around 13 300 tonnes (17 million litres) of renewable diesel produced by Finland-headed oil refiner and renewable products major Neste Oyj.
I did not expect trains still running with diesel in germany