The perturbed FLRW metric on all scales: Newtonian limit and top-hat collapse