PINNs error estimates for nonlinear equations in $\mathbb{R}$-smooth Banach spaces