The European Union will from Sunday have the power to enforce landmark artificial intelligence rules and hit any companies breaking the law with fines.