RIYADH—Saudi Arabia courted the world’s top companies to modernize its economy. Instead, the business environment has grown more hostile and investors are souring on the oil-rich kingdom.
Uber Technologies Inc., General Electric Co. and other foreign firms were hit by surprise tax assessments often totaling tens of millions of dollars.