To be specific, because it's confusing for some:
-PsyTerrain's priority-negating effect is a "shield" on grounded pokemon, not a "can't use it". A Dragonite and Arcanine can both click Extremespeed but Dragonite's will fail because it's targeting a grounded pokemon in the terrain. (As an aside...