Developers want their skills to be portable, in order to maximize the market for their labor. Platform vendors want you to stick with their offerings in order to maximize the value of the platform.
Even so, vendors can choose how high to dial up the pain they inflict on developers who dare to wander. Trying to develop websites that worked across multiple browsers a decade ago was incredibly painful because of Microsoft dragging its feet on standards compliance for IE. It was so bad that many developers from that era will bear a grudge towards Microsoft for the rest of their lives.
I always laugh bitterly when I hear from a vendor about how much they care about developers. If you really cared about developers you wouldn't make our lives so damn difficult. A huge chunk of my life has been lost to switching costs.
Probably the best remedy is to use developer-governed FOSS platforms whenever possible. The perverse incentives towards lockin don't go away entirely, but they are much less.
Heroku is a platform as a service. They provide an alternative to EC2 autoscaling. Also available is postgre, Kafka, redis, MongoDB, MySQL, and a few other things I rudely assumed aren't important enough to mention as a service.
Vultr and linode also offer block storage in addition to traditional VPSs.
Ovh has something called object storage.
Auth0 is willing to be your "user authentication as a service" which also includes something like AWS lambda.
Spotinst will help you get cheap "spot instances" for AWS/GCP/Azure. They also have an AWS lambda competitor and an object storage (I think this one is literally a JSON object storage for your FaaS, not actual files). Not much of a primary service provider.
I consider AWS, GCP, and Azure to be megacorporate monopolies and would prefer to support an underdog. But I'm not aware of any 4rth competitor that comes close to what those 3 actually are. The ones I mentioned probably average at 10% and maybe DO or heroku peaks at 40%.
I would love to hear more about cloud providers who are becoming more than just VPSs to take on AWS.