TSMC's Q2 revenue jumped 36% as the chipmaker massively increases spending on AI-focused advanced manufacturing.