Almost isometric actions, property (T), and local rigidity