Stating the obvious: there'll always be work within professions such as plumbing, carpentry, and building. Hands-on building.
Hands-off building, with code as a virtual construction material: there's no obvious niche. I would not know where to start, or finish. I should optimtimistally assume that the vast majority of niches will be short-lived, compared to the lifetime of a human.
I'm not a developer, but over the years I have thrown (or crowbarred) myself into various niches. Chandler was my favourite. I knew that development had ceased, but it was the best tool for the purpose at the time.
Good luck!