Billionaire Warren Buffett's American investment firm Berkshire Hathaway is making a rare foray into the technology sector with a billion-euro investment.

The company bought shares in the world's largest contract chipmaker Taiwan Semiconductor Manufacturing (TSMC) for more than $4.1 billion, the conglomerate said on Monday.

Berkshire doesn't typically make large technology investments, but it often favors companies that have competitive advantages due to their size.

In the past, this also applied to Apple, for example.

TSMC saw profits jump 80 percent in the third quarter, buoyed by demand from customers like iPhone maker Apple.

Asia's most valuable public company began building a $12 billion factory in Arizona in August.