Barbie may have been a co-production with Mattel, but Greta Gerwig's film is not afraid to lampoon its parent company.