Software companies like SAP and Salesforce have been clobbered by markets recently. Investors seem to worry that artificial intelligence poses a grave risk to these giants. But they may be misreading the omens: AI could eventually help the best software-making companies gain market share.

Is there anything AI won’t disrupt? Our correspondent went to the porn industry’s annual shindig to find out. From physical sex-toys paired with chatbots to “digital doubles” for bankable stars, the industry faces another upheaval. But the smut business, no matter how reinvented, always finds a way to survive.