A metal once used primarily as a coloring agent in ceramics is now a sought-after commodity for the U.S. military, which wants to add up to $500 million worth of cobalt to defense stockpiles.