EU commission president isn’t directly elected, but neither is the US. President. Voter choose electors who then pick the US president. In EU: voters elect national parties that form groups in the Parliament, which then elects the Commission President.