“Barbie,” with more than $1.4 billion in ticket sales, was nominated for eight awards, including best picture.