First it was the internet. Then it was social media. Now, AI is the third wave marketing and public relations firms are learning to navigate.