One needs a high power-to-weight ratio to be a good airplane engine. Keeping weight-to-everything-else down is absolutely critical in designing an airplane and its systems.
The Boeing 777 uses two General Electric GE90 turbofan jet engines. (Orders of magnitude (power)
WP, General Electric GE90
WP, Boeing 777
WP).
Engine power: 75 megawatts (not sure whether this is thermal or mechanical)
Engine mass: 7.55 metric tons (megagrams)
For 777-200:
Airplane empty mass: 134.5 mt
Airplane max landing mass: 201.84 mt
Airplane max takeoff mass: 247.2 mt
About 40 mt per engine, using landing mass, since the plane must land with its engines.
Power/mass: 1.875 MW/mt
After some searching, I discovered:
Power to Overall Weight Ratio of the 2013 Hyperion Power Nuclear Reactor
Mass: 20 mt
Thermal power: 70 MW
Electrical power: 30 MW
Power/mass: 3.5 MW/mt (thermal), 1.5 MW/mt (electrical, mechanical)
So a nuclear reactor could just about make it as an airplane engine.