A company that makes lasers and high-tech semiconductor materials is getting a big cash infusion from the federal government.