From the obsolete verb ertragen (“to yield, bring in”), presumably composed of er- and tragen (“to bear, carry”).
Ertrag m (strong, genitive Ertrages or Ertrags, plural Erträge)