The prime minister says foreign investors’ plans to invest £29.5bn is a “huge vote of confidence”.