It doesn't matter to your boss. He will still fire you and replace you with a slop machine. Then you will not be able to get a job again and you will have low self-esteem.
That is limited thinking. People are replacing their bosses, and your boss will be bossing what exactly? Right now LLMs cant' replace the entire spectrum of human intelligence. But if your entire work is just translating your boss ask to for-loops & if-statements, the I guess yes, I would be worried.
And what is your point? again, the tool is here to stay, it won't replace software engineers as of now, you can't undo progress, so what is your point exactly?
Same point as the textiles industry in the 18th century..and software engineers automating other industries for the last 50 years for what? for fun?
My point is that you implied this question had a simple answer but you are failing or refusing answer it. I have just disproven, by the Socratic method, your statement that "people are replacing their bosses".
If you really think those layoffs are due to AI, then you haven't worked in corporations long enough. If companies are not hiring, and are firing, then what do we need middle managers for? In fact, if an engineer is really smart and masters the tools, what do you need POs, managers, executives, and even sales for? If you stretch things to the max, those who master the tools are positioned to automate everyone aside from the capitalist, as they are protected legally
You're thinking of this as a game of merit instead of a game of power accumulation that it actually is. Middle managers, like junk DNA, don't have to actually accomplish anything as long as they can propagate themselves.