Investors flee thematic ETFs as stock benchmarks soar