Participants with liver cancer will be assigned to Arm A and receive atezolizumab and bevacizumab.~Participants with non-small cell lung cancer will be randomized into one of the following arms:~Arm B: Atezolizumab and bevacizumab~Arm C: Atezolizumab alone~Participants randomized to Arm C whose disease worsens may be able to cross over to Arm B and receive atezolizumab and bevacizumab together.
This study is being done to look at how effective the drug, atezolizumab, with or without the drug bevacizumab, is for people with inoperable liver cancer or non-small lung cancer that has spread to the liver. This will be done by looking at the duration of time from starting the study drug(s) until the cancer worsens in study participants.~This study will collect blood and tumor tissue samples from participants to look at changes to their tumor(s) before and after receiving atezolizumab and/or bevacizumab.