US senator introduces legislation to establish AI safeguards for Pentagon operations