Artificial intelligence will threaten your marriage if it focuses on cultures childbearing child and housekeeping rather than you know.
Human companionship and life partnership. Why? Because AI can now give you a robotic
girlfriend. Technology can get a woman pregnant to expand on or from any race she wants.
She doesn't have to meet him and he doesn't have to pay child support. Social system exists where if you have money others can raise your children for you. You can even get governance, nannies and all peers online and they arrive at your house the next day.
In other words, the only thing AI, technology and modernity can provide is the unique heart-to-heart connection. It is a real flesh and blood presence. Everything else in the marriage other than that warmth and bonding cannot be outsourced to air or technology.
It is a beautiful world as it is. You don't need much from anyone to go through life.