It is a conflict with the new WooCommerce brand taxonomy.
To fix this, You need to change core brands permalinks from “brands” to something like “core-brands” in Settings > Permalinks.
But if you want to use a new core brand instead of the theme’s custom attribute, need to deselect the custom attribute in Theme Settings > Shop > Brands.