Tuning materials' properties by non-perturbative cavity quantum electrodynamics