A senior Apple executive has said European regulation may force the tech giant to reduce its investment in European operations.