SAN FRANCISCO — Until recently, Robyn Ewing was a writer in Hollywood, developing TV scripts and pitching pilots to film studios. Now she’s applying her creative talents toward building the personality of a different type of character — a virtual assistant, animated by artifical intelligence, that interacts with sick patients. Ewing works with engineers on…