Vendor lock-in may be unavoidable at this point, but what companies need to do is understand up-front what the exit strategy will be, and build those costs into the initial cost analysis.
FORBES: Cloud Computing's Vendor Lock-In Problem: Why the Industry is Taking a Step Backward