PIE-NeRF: Physics-based Interactive Elastodynamics with NeRF