The visibility property is not supported for $filter, you can get the full list and then filter it client-side. And for the sake of completeness, this is not how you combine multiple filters, use the 'and' operator:
https://graph.microsoft.com/beta/groups?&$filter=groupTypes/any(a:a eq 'unified') and visibility eq 'Public'
(still wont work in this case).