Post-Brexit Britain's global ambitions start with investment at home, says PM