How 5G and AI will work together