Startup born in a Boston backyard lab now refines rare earths for missiles and jets to thwart China