China's major tech companies have been grappling with economic uncertainty, Covid-19 restrictions and heightened scrutiny from regulators in recent months.

Chinese internet giant Baidu Inc. on Tuesday announced second-quarter revenues of 29.6 billion yuan ($4.3 billion), down five percent from last year after the company faced a challenging economic climate and tight controls on China's once-thriving tech sector.

Other Chinese tech giants, including Tencent and e-commerce behemoth JD.com, had also reported disappointing results in recent weeks.

China's major tech companies have been grappling with economic uncertainty, COVID-19 restrictions that have kept consumers jittery, and heightened scrutiny from regulators in recent months.

Baidu, which operates China's most widely used , saw revenues decrease but posted a of 3.6 billion yuan ($522 million), buoyed by a 31 percent year-on-year growth in its business.

"Despite a challenging macro environment caused by COVID-19, Baidu Core generated RMB23.2 billion in revenues in the ," CEO Robin Li was quoted as saying in an official press release.

"Going forward, we remain committed to quality revenue growth and sustainable business models."

Last year, the Beijing-based group reported second-quarter revenue of 31.4 billion yuan ($4.5 billion), up 20 percent year-on-year at the time.

Baidu has heavily diversified into , cloud computing and autonomous driving technologies in recent years, as advertising revenue remains sluggish.

Li claimed Apollo Go, its autonomous driving arm, further consolidated its position as a leading intelligent ride-hailing provider, with fully driverless taxi services launched in the cities of Chongqing and Wuhan.

Beijing regulators' widespread crackdown on the tech sector, beginning in late 2020, saw record fines, canceled IPOs and lengthy investigations targeting top players, which decimated revenues and put further pressure on the stalling economy.

The campaign is intended to reduce monopolistic practices and promote competition between internet platforms.

Last week, Alibaba rival JD.com reported its slowest revenue growth to date in the second quarter, after tech giant Tencent reported its first drop in quarterly revenue since going public.

Didi Chuxing, China's answer to Uber, was also fined the equivalent of $1.2 billion last month after a year-long cybersecurity investigation.

Many parts of China have faced lockdowns and other COVID restrictions in recent months, disrupting and adding to consumer worries as Beijing tries to stamp out the Omicron variant's spread under its strict zero-COVID policy.