As a senior engineer if your value add was "accumulated expert knowledge". Then yes, you are in a bad place.
If instead it was building and delivering products / business value. Good judgement, coordination and communication skills, intuition, etc… then you are now way way more leveraged than you ever were and it has never been greater.
I think "accumulated expert knowledge" was never really useful if an organisation could just replace that person with a wiki.