Electric pantograph takes up no space on the train, only require a bit of metal, can be easily wired up to the grid, and are totally safe.
Not to mention one pantograph line serves infinite trains. We don't need to make more if we want to run more trains.