Samsung’s investment suggests ailing Sharp’s fortunes are looking less dire