I guess I missed to see those import in that example.
Can you try outside of conda because for me the pip vtk is working fine on 3.9 on my mac.
python3.9 -m venv test-vtk
source ./test-vtk/bin/activate
pip install -U pip
pip install vtk
python ./example-vtk-script.py