Pennsylvania lawmakers are taking steps to regulate artificial intelligence to protect residents, but a potential presidential order could shift regulatory power to the federal government.