Singular harmonic problems at multi-material wedges: mathematical analogies between elasticity, diffusion and electromagnetism