One company sits behind Tinder, Hinge, Match and dozens of other apps. Here is how a portfolio of swipes became a $3.5 billion business - and why its next move is a bet on AI.