Apple has urged the EU to amend its Digital Markets Act, warning the law threatens user privacy, weakens security, and could even force it to stop shipping products in Europe.