Atomic and molecular line emission from early-type high-luminosity stars