Randomized Physics-Informed Machine Learning for Uncertainty Quantification in High-Dimensional Inverse Problems