They are generally the safest way to install apps on an Android device. Though as nahoku has stated, there have been instances of it serving up malicious apps, but they are few and far between.
Sticking to known and trustworthy developers, checking the permissions before installing an app would help to a certain extent.
Google themselves serving malicious apps seems quite far-fetched, and highly improbable.