OMAHA, Neb. >> Billionaire Warren Buffett said artificial intelligence may change the world in all sorts of ways, but new technology won’t take away opportunities for investors, and he’s confident America will continue to prosper over time.

Buffett and his partner Charlie Munger are spending all day Saturday answering questions at Berkshire Hathaway’s annual meeting inside a packed Omaha arena.

“New things coming along doesn’t take away the opportunities. What gives you the opportunities is other people doing dumb things,” said Buffett, who had a chance to try out ChatGPT when his friend Bill Gates showed it to him a few months back.

Buffett reiterated his long-term optimism about the prospects for America even with the bitter political divisions today.

“The problem now is that partisanship has moved more towards tribalism, and in tribalism you don’t even hear the other side,” he said.

Both Buffett and Munger said the United States will benefit from having an open trading relationship with China, so both countries should be careful not to exacerbate the tensions between them because the stakes are too high for the world.

The chance to listen to the two men answer all sorts of questions about business and life attracts people from all over the world to Omaha, Nebraska. Some of the shareholders feel a particular urgency to attend now because Buffett and Munger are both in their 90s.

“Charlie Munger is 99. I just wanted to see him in person,” said 40-year-old Sheraton Wu from Vancouver.

The two men tackled all kinds of topics throughout the day including:

— Buffett said bank regulators need to find a way to punish the executives and board members who make the risky decisions that doom a bank.

— The level of debt the United States carries is concerning, but it’s hard to know how much the country can take on without devaluing the dollar and jeopardizing the world’s reserve currency.

— Apple drew high praise as Berkshire’s biggest stock holding. Buffett said it is a wonderful business because of how devoted consumers are to their iPhones.

— To avoid the biggest mistakes in life, Buffett said: “You should write your obituary and figure out how to live up to it.” Also avoid debt, and in business try to avoid taking on so much risk that a single mistake can wipe you out.

— Munger gave similarly simple advice: Invest less than you earn, avoid toxic people and activities and keep learning throughout life.

Although not everyone at the meeting is a fan. Outside the arena, pilots from Berkshire’s NetJets protested over the lack of a new contract and pro-life groups carried signs declaring “Buffett’s billions kill millions” to object to his many charitable donations to abortion rights groups.

Berkshire Hathaway said Saturday morning that it made $35.5 billion, or $24,377 per Class A share, in the first quarter. That’s more than 6 times last year’s $5.58 billion, or $3,784 per share.

But Buffett has long cautioned that those bottom line figures can be misleading for Berkshire because the wide swings in the value of its investments — most of which it rarely sells — distort the profits. In this quarter, Berkshire had only a $1.7 billion realized gain on stock sales while recording a $27.4 billion paper investment gain.

Buffett says Berkshire’s operating earnings that exclude investments are a better measure of the company’s performance. By that measure, Berkshire’s operating earnings grew nearly 13% to $8.065 billion, up from $7.16 billion a year ago.

This year’s first quarter was relatively quiet compared to a year ago when Buffett revealed that he had gone on a $51 billion spending spree at the start of last year, snapping up stocks like Occidental Petroleum, Chevron and HP.

Edward Jones analyst Jim Shanahan said the quarterly report suggests Berkshire may have sold about 35 million Chevron shares, but Buffett appears to remain bullish on oil stocks given his recent Occidental purchases.

But Buffett quashed speculation that Berkshire might one day buy all of Occidental. He said Berkshire won’t make any bids for control of that oil producer although it may buy more shares.

At the end of this year’s first quarter, Berkshire held $130.6 billion cash, up from about $128.59 billion at the end of last year. But Berkshire did spend $4.4 billion during the quarter to repurchase its own shares.

Berkshire’s insurance unit, which includes Geico and a number of large reinsurers, recorded a $911 million operating profit, up from $167 million last year, driven by a rebound in Geico’s results.

But Berkshire’s BNSF railroad and its large utility unit did report lower profits. BNSF earned $1.25 billion, down from $1.37 billion. The utility division added $416 million, down from last year’s $775 million.