Exchange traded funds set a new record at the end of June, with global assets breaking the $10.5 trillion mark.