NEW YORK/SAN FRANCISCO (Reuters) - Growing tensions with North Korea should worry global electronics firms such as Apple Inc as they source key parts from South Korea, but investors are brushing off such concerns and snapping up shares in key exporters, heartened by robust earnings and big investment plans.

FILE PHOTO: Toshiba's used-memory chips are seen at an electronics shop in Tokyo November 9, 2010. REUTERS/Kim Kyung-Hoon/File Photo

U.S. President Donald Trump said on Thursday in an interview with Reuters that a major conflict with North Korea is possible in the standoff over its nuclear and missile programs, though he would prefer a diplomatic resolution.

South Korea, a U.S. ally and home to major electronics parts makers such as Samsung Electronics, LG Display and SK Hynix, would be particularly vulnerable to any military attack from its northern neighbor.

Any interruptions to operations could significantly disrupt global manufacturing of smartphones, televisions, computers and tablets. South Korea supplies more than half of components such as memory chips and flat screens.

Despite escalating tensions, investors are pouring money into South Korea’s financial market, and companies are flocking to the stock market to raise billions of dollars.

“This is mainly just chest-thumping behavior on the part of North Korea and President Trump, but I don’t think it will be anything more than that,” said Geoff Pazzanese, a senior portfolio manager at Federated Investors in New York.

Pazzanese, who owns large positions in Samsung and chipmaker Hynix, said he would be a buyer if the market sold off as a result of a North Korean nuclear test, partly because the Trump administration has reaffirmed its military support for South Korea.

For a graphic on South Korean firms' key domestic manufacturing sites, click

Seoul’s stock market has climbed 9 percent so far this year to near record highs, helped by strong earnings by major exporters including Samsung Electronics, which rose 3 percent to a life-time high on Friday after reporting its highest profit in more than three years.

Earlier this week, Hynix and LG Display, both Apple suppliers, reported record quarterly profits and sounded upbeat for the remainder of the year.

Slideshow ( 3 images )

“The tension might mean some sentimental risk more than fundamental risk,” said John Teng, an equity analyst at Janus Capital Group in Singapore.

“It might potentially push their customers to restocking earlier, in terms of component inventory. Memory suppliers, they are very disciplined in terms of capacity expansion.”

Mohamed A. El-Erian, chief economic advisor at the Allianz Group, told the Reuters Global Markets Forum on Friday that investors should take a more critical look at their exposure, but had been conditioned to set aside such risks.

“And they have been rewarded well by markets for doing so.” he added.

South Koreans have grown used to the threat of conflict with the North after decades of bellicose rhetoric from Pyongyang, and the companies remained unruffled on Friday.

“We think talk of conflict is speculative, and we do not have any plans to react to the current situation,” LG Electronics said in a statement.

Hyundai Motor, the country’s top automaker, said it had detailed contingency plans to ensure business carried on under various situations but couldn’t disclose them.

RATIONING

Any military conflict on the Korean peninsula could have a dramatic effect on the memory chip market in particular, as Samsung’s and Hynix’s main operations are clustered in South Korea.

The pair control nearly 50 percent of the flash memory market, and almost two thirds of DRAM chips, widely used in computers, making it almost impossible for customers to find alternative supplies quickly.

As supply of those chips are already tight, any interruptions to their manufacturing operations might cause large customers such as Apple and Lenovo to trigger a contractual term known as an “allocation” to get more of their suppliers’ limited supply, according to industry executives.

Those fights often get ugly, with corporate giants throwing their weight around with suppliers, said Trevor Schick, a former supply chain executive at H-P Enterprise and Motorola Mobility.

“In the memory world, the minute things go into allocation, everyone is in a fight for who gets into the allocation. Scale plays a big role in that,” Schick said.

“Most contracts have a formula for how the allocation happens. But when it does, everyone from the big companies gets on planes to Asia to get in front of those CEOs and lay out their case as to why they should get the memory.”

Samsung, Hynix and LG Display declined to comment.

Apple declined to comment.

The ultimate beneficiaries of supply interruptions in South Korea would likely be Japan’s Toshiba Corp, and U.S. firms Micron Technology Inc and Western Digital Corp.

Toshiba’s production is mostly in Japan, while Micron’s is clustered in the United States and Singapore.

But the geopolitical wild card could be China, Schick said.

“If something did happen in Korea, the massive impact would be in China. Most of that memory goes from Korea into China to be made into tablets, phones and computers,” Schick said.

The vast majority of Apple’s iPhones, for example, are manufactured in China by its partner Foxconn.