lagpot
What's more likely to come first is artificially created sperm, from a sample of any cells - first by converting them to stem cells, then differentiating those to sperm-producing cells. It's already been trialed in the lab. I expect it's only a matter of time before this becomes a widely available reproductive technology, like IVF is now. Perhaps a few decades, if that.
The most interesting thing about this is it can be done with female cells to make "female sperm", both in the sense that it comes from a female individual and that every sperm cell will be X chromosomed (thus producing only daughters).
At that point, men will be effectively obsolete, and will gradually diminish in population, as each successive generation will be skewed more towards female.
It will be interesting to see how society adapts to being female-centered instead of male-dominated.