Here are the specs I've been able to find for both models:
Big Boy
Horsepower: 6300 (approx)
Weight on drivers: 540,000 lb
Starting tractive effort: 135,000 lb
DDA40X
Horsepower: 6600
Weight on drivers: 545,000 lb
Starting tractive effort: 134,000 to 136,000 lb
These numbers are remarkably similar, and at first glance would suggest a dead heat.
However, there are some crucial differences between steam and diesel-electric power that some people have already pointed out. Above the wheelslip threshold, a diesel-electric is a constant-horsepower machine. A steam locomotive generates a flatter tractive effort curve until steam pressure drops at higher speeds, and it is only at higher speeds that it can develop full horsepower. At low speeds, the tractive effort of the DDA40X would be limited only by the adhesion of the wheels, since electric motors can smoothly produce immense torque from a standstill. In contrast, the Big Boy would also be limited by steam pressure, meaning that it could not develop anywhere near full horsepower at lower speeds. Its power delivery would also not be as smooth. The advantage here goes to the DDA40X.
Of course, with modern AC motors and wheelslip controls, an SD70ACe or ES44AC would out-pull both of these units. Even the SD70M-2 can produce an additional 30,000 lb of starting tractive effort.