The EU and the UK are working on regulatory frameworks that they aim to turn into global benchmarks to control artificial intelligence