I’m a software engineer and AI can already do a lot of my programming and it’s great! Most of my software is FOSS - so your bet is very wrong.
If somehow AI kills programming and puts me out of job then that’s great! I’ll find another job and we’ll be living in objectively better world because code is suddenly infinitely more accessible and powerful :)
So, to me this protectionism thought process is very alien. Especially when it comes to something relatively meaningless as entertainment.