Regulating Artificial Intelligence in the EU and US