The federal government and New York have finalized an agreement worth $825 million to help make the Empire State an international hub for computer chip research and development.