Regulating artificial intelligence for a sustainable future