investing in artificial intelligence for long term