John McDonnell sets out investment plans, as the Tories also vow to borrow more to spend on infrastructure.