Elina Svitolina produced a fine comeback to upset Angelique Kerber and make the last four of the Brisbane International.