The most effective way to revise sentence 5 to include a transition word or phrase is:
"However, it will require some workers to gain new skills to meet the demands of a changing workforce."
This revision effectively transitions from the previous point about the opportunities provided by automation to the necessary requirement for workers to adapt by acquiring new skills. The use of "However," indicates a contrast and adds clarity to the argument.