Do you mean software security issue one could exploit given physical access (which sounds a much minor issue than hardware obsolescence in this world of overproduction and waste) or risk of physical harm due to, say, fire hazard or similar?
New hardware brings new mitigations, like the Pixels + GrapheneOS for example.
Used to think Android/mobiles were awful from a security perspective. Boy was I wrong.
Still awful for privacy, if Airplane mode is off, but, still.