Layoffs at Cruise, the General Motors robotaxi subsidiary, mark an inflection point for both companies as autonomous vehicle competition has thinned, automakers face pressure to cut costs, and public and investor confidence in the self-driving revolution has tanked.