Google has been ordered by the EU to open up key Android handset features to rival AI voice assistants.