Advice to anyone planning for jobs in programming. *Possibly wrong as it's projection*.
Along with Python, C+C++, web, ..., learn microcontrollers like RP2040, STM32 or Pic, and dev boards like Pico 2W, or Arduino. The skills built working with circuit boards will be more immune to AI replacement.