Global government bonds gained after concerns about AI security triggered a steep selloff in Bitcoin and stocks, raising demand for safer assets.