The US is in talks to provide more than $1 billion for two critical minerals and railway projects in central Africa as it seeks to secure supplies deemed crucial for national security.