How come modern locomotives dont have boxpok driving wheels or spoked wheels?

and also why dont railroad cars have have them either? Their wheels are solid
4 answers 4