Is it maybe " Good Knight Macgyver" ? Reminds me a scene where Mac is at Merlin's lab and he's working on something, so he can prove Merlin's innocence, after he was accused of trying to poison King Arthur.
Sorry, no. Think about the clues I have given. Involves a shady businessman. Mac is helping a woman.