Lawmakers in Washington are taking major steps to begin potentially regulating artificial intelligence, also known as AI.