Washington and Kyiv have signed a new minerals deal that will see the United States invest in Ukraine's rare earth and other deposits as it seeks to reduce military aid to the war-torn country.