Two properties on a Wiltshire high street have been sold to owners looking to fix them up and rent them out to new businesses.