MacBook Pro M1, had the same problem with kubectl - plain reboot helped.
kubectl
Will have in mind the brew reinstall path though next time it happens.