'Barbie' and 'Oppenheimer' broke box office records during opening weekend.