Most of the energy cost is pushing the air out of the way. This is just as true for a train as a plane. I suppose the plane also has to spend some energy as lift, but my impression is that this sort of comes along as part of the cost of pushing the air out of the way.
Has anyone done this calculation?