"Funnel" or "perspective" scaling?
Add a Lattice and position it so that it encloses the object you want to deform.

Select the object to be deformed and add a Lattice Modifier to it.

On the modifier select the lattice that will be used.



Select the lattice, enter edit mode and change its shape by moving some vertices, the object will deform along with it.