Fighters and bombers kill ships at sea because the cannons, missiles and AA guns have limited accuracy/range. The Enterprise from the Kirk era onward have no such issues and would mop the floor with Imperial garbage that couldn't hit the broadside of a barn.