Can't install command line tools on MacOS Big Sur

I fixed the same issue for me by downloading and installing the latest CLT package from https://developer.apple.com/download/more/