"Too Many Requests" is definitely not the issue. The problem is caused by recent changes in yfinance. If you use Google Colab it does not provide the latest version by default, so you need to upgrade it manually (and better to clean cache):
!pip install yfinance --upgrade --no-cache-dir