if that ever happens where one gender just says no to kids, i would imagine there would eggs or enough sperm saved at banks.
but if the women refused to deliver babies,
cross special pregnancy then i guess
. in the future they probably could make an ape carry a human child somehow (obviously i know NOTHING about science here lol).