ALBANY, N.Y.—The state attorney general’s office has expanded its investigation of sexual-harassment allegations against Gov. Andrew Cuomo to look at whether one of his top advisers linked access to Covid-19 vaccines to support for the governor, according to people familiar with the matter.