Snap Inc. CEO Evan Spiegel says it is investing in artificial intelligence to streamline its operations so it can work with leaner teams