First rail companies pledge £300,000 to boost apprenticeships