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.
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
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.