A more realistic comparison is something like Villach in Austria to Edirne in Turkey, which is 1400km by road, and €259 one-way for a car plus €149 for one person (https://www.seat61.com/motorail-trains.htm).
(Though for a journey this long people with multiple cars would probably be taking the larger one.)
The train costs more, but means families can play with their children (around a table) rather than having them stuck in the back seats for hours, and probably part or all of the journey is overnight.
Also a lot of the cost is load/unload time.