The European Commission is to investigate a grant given by Slovenia's government to a Renault unit to see if rules on state aid have been breached.