Moto have been making phones for as long as there has been phones. Software issues would get fixed. I don't think hardware issues are likely.
The biggest risk is Google being evil and cutting both of them off from the Android source code or refusing to sign the releases. Google already refuse signing releases for GrapheneOS on the pixel.