The deal is slated to end Berkshire Grey’s SPAC-induced ride on the public markets after about two years.