AI stocks are taking off. Here's everything you need to know before investing in this emerging technology sector.